ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ToastServices.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
21 
25 
27 {
29  private UIServices $ui;
30 
31  public function __construct(UIServices $ui)
32  {
33  $this->ui = $ui;
34  $this->toast_factory = new ToastFactory(new StandardToastRendererFactory($this->ui));
35  }
36 
37  public function factory(): ToastFactory
38  {
39  return $this->toast_factory;
40  }
41 }
Provides fluid interface to RBAC services.
Definition: UIServices.php:23