ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
AbstractToastProvider.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
21 
31 
32 abstract class AbstractToastProvider extends AbstractProvider implements ToastProvider
33 {
34  protected Container $dic;
35  protected \ILIAS\UI\Factory $ui_factory;
38 
42  public function __construct(Container $dic)
43  {
44  parent::__construct($dic);
45  $this->toast_factory = $this->globalScreen()->toasts()->factory();
46  $this->ui_factory = $this->dic->ui()->factory();
47  $this->if = $this->globalScreen()->identification()->core($this);
48  }
49 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
__construct(VocabulariesInterface $vocabularies)