ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.Service.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Repository;
22
24
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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Repository internal service.
gui()
Internal service, do not use in other components.
__construct(Container $DIC)