ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\MediaCast;
22
24
29{
34
35 public function __construct(Container $DIC)
36 {
37 $this->data = new InternalDataService();
38
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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
database()
Get interface to the Database.
Definition: Container.php:42
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26