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