ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.Service.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Test;
22 
24 
25 class Service
26 {
27  protected Container $DIC;
28 
29  public function __construct(Container $DIC)
30  {
31  $this->DIC = $DIC;
32  }
33 
37  public function internal(): InternalService
38  {
39  return new InternalService($this->DIC);
40  }
41 
43  {
44  return new TestParticipantInfoService($this->DIC->database());
45  }
46 }
__construct(Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
function testParticipantInfo()
Internal service, do not use in other components.