ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
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\COPage;
22 
24 
30 {
35 
36  public function __construct(Container $DIC)
37  {
38  $this->data = new InternalDataService();
39  $this->repo = new InternalRepoService(
40  $this->data(),
41  $DIC->database()
42  );
43  $this->domain = new InternalDomainService(
44  $DIC,
45  $this->repo,
46  $this->data
47  );
48  $this->gui = new InternalGUIService(
49  $DIC,
50  $this->data,
51  $this->domain
52  );
53  }
54 
55  public function data(): InternalDataService
56  {
57  return $this->data;
58  }
59 
60  public function repo(): InternalRepoService
61  {
62  return $this->repo;
63  }
64 
65  public function domain(): InternalDomainService
66  {
67  return $this->domain;
68  }
69 
70  public function gui(): InternalGUIService
71  {
72  return $this->gui;
73  }
74 }
Repository internal repo service.
global $DIC
Definition: shib_login.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: PageLinker.php:19
Repository internal data service.