ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\RootFolder;
22 
23 use 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 }
Repository internal service.
Repository internal data service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
Repository internal repo service.
Class HTTPServicesTest.
global $DIC
Definition: shib_login.php:22