ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AbstractToastProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28
29abstract class AbstractToastProvider extends AbstractProvider implements ToastProvider
30{
31 protected Container $dic;
35
39 public function __construct(Container $dic)
40 {
42 $this->toast_factory = $this->globalScreen()->toasts()->factory();
43 $this->ui_factory = $this->dic->ui()->factory();
44 $this->if = $this->globalScreen()->identification()->core($this);
45 }
46}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
This is how the factory for UI elements looks.
Definition: Factory.php:38
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc