ILIAS  release_8 Revision v8.24
class.InternalService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
18namespace ILIAS\RootFolder;
19
20use ILIAS\DI;
21
27{
32
33 public function __construct(DI\Container $DIC)
34 {
35 $this->data = new InternalDataService();
36
37 $this->repo = new InternalRepoService(
38 $this->data(),
39 $DIC->database()
40 );
41 $this->domain = new InternalDomainService(
42 $DIC,
43 $this->repo,
44 $this->data
45 );
46 $this->gui = new InternalGUIService(
47 $DIC,
48 $this->data,
49 $this->domain
50 );
51 }
52
53 public function data(): InternalDataService
54 {
55 return $this->data;
56 }
57
58 public function repo(): InternalRepoService
59 {
60 return $this->repo;
61 }
62
63 public function domain(): InternalDomainService
64 {
65 return $this->domain;
66 }
67
68 public function gui(): InternalGUIService
69 {
70 return $this->gui;
71 }
72}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
Repository internal service.
global $DIC
Definition: feed.php:28
Class HTTPServicesTest.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...