ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Notes;
22
25
30{
31 use GlobalDICDomainServices;
32
35
36 public function __construct(
38 InternalRepoService $repo_service,
39 InternalDataService $data_service
40 ) {
41 $this->repo_service = $repo_service;
42 $this->data_service = $data_service;
43 $this->initDomainServices($DIC);
44 }
45
46 public function noteAccess(): AccessManager
47 {
48 return new AccessManager(
49 $this->data_service,
50 $this->repo_service,
51 $this
52 );
53 }
54
55 public function notes(): NotesManager
56 {
57 return new NotesManager(
58 $this->data_service,
59 $this->repo_service,
60 $this
61 );
62 }
63
65 {
66 return new NotificationsManager(
67 $this->data_service,
68 $this->repo_service,
69 $this
70 );
71 }
72}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26