ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
class.Service.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Container;
22
23use ILIAS\DI;
24
29{
30 protected DI\Container $DIC;
31
32 public function __construct(DI\Container $DIC)
33 {
34 $this->DIC = $DIC;
35 }
36
37 public function domain(): DomainService
38 {
39 return new DomainService($this->internal());
40 }
41
45 public function internal(): InternalService
46 {
47 return new InternalService($this->DIC);
48 }
49}
__construct(DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:38
Class HTTPServicesTest.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19