ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\COPage;
22 
24 
30 {
35 
36  public function __construct(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 }
database()
Get interface to the Database.
Definition: Container.php:38
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
Repository internal repo service.
global $DIC
Definition: feed.php:28
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.