ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Service.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Notifications;
22 
24 
28 class Service
29 {
30  protected Container $dic;
31 
32  public function __construct(Container $DIC)
33  {
34  $this->dic = $DIC;
35  }
36 
37  public function system(): ilNotificationSystem
38  {
39  return new ilNotificationSystem($this->dic->rbac()->review());
40  }
41 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
global $DIC
Definition: feed.php:28
__construct(Container $DIC)
Definition: Service.php:32
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...