ILIAS  release_8 Revision v8.24
class.InternalService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace 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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
database()
Get interface to the Database.
Definition: Container.php:38
Repository internal 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...