ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
Service.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Notifications;
22 
24 
28 class Service
29 {
30  public function __construct(protected Container $dic)
31  {
32  }
33 
34  public function system(): ilNotificationSystem
35  {
36  return new ilNotificationSystem(
37  $this->dic->rbac()->review(),
38  $this->dic->logger()->nota()
39  );
40  }
41 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
$dic
Definition: result.php:32
__construct(protected Container $dic)
Definition: Service.php:30