ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
class.Service.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Repository;
22 
24 
28 class Service
29 {
30  protected Container $DIC;
31 
32  public function __construct(Container $DIC)
33  {
34  $this->DIC = $DIC;
35  }
36 
40  public function internal(): InternalService
41  {
42  return new InternalService($this->DIC);
43  }
44 
45  public function gui(): ExternalGUIService
46  {
47  return new ExternalGUIService($this->internal()->gui());
48  }
49 
50 }
__construct(Container $DIC)
function gui()
Internal service, do not use in other components.
Repository internal service.