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\Style\Content;
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  $DIC->filesystem()->web(),
44  $DIC->upload()
45  );
46  $this->domain = new InternalDomainService(
47  $DIC,
48  $this->repo,
49  $this->data
50  );
51  $this->gui = new InternalGUIService(
52  $DIC,
53  $this->data,
54  $this->domain
55  );
56  }
57 
58  public function data(): InternalDataService
59  {
60  return $this->data;
61  }
62 
63  public function repo(): InternalRepoService
64  {
65  return $this->repo;
66  }
67 
68  public function domain(): InternalDomainService
69  {
70  return $this->domain;
71  }
72 
73  public function gui(): InternalGUIService
74  {
75  return $this->gui;
76  }
77 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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
upload()
Gets the file upload interface.
Definition: Container.php:144
filesystem()
Get the Filesystem service interface.
Definition: Container.php:135
Repository internal data service.
Repository internal service.