ILIAS  release_8 Revision v8.24
AbstractToastProvider.php
Go to the documentation of this file.
1<?php
18declare(strict_types=1);
19
21
31
32abstract 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 {
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:32
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc