ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ToastServices.php
Go to the documentation of this file.
1
<?php
18
declare(strict_types=1);
19
20
namespace
ILIAS\GlobalScreen\Scope\Toast
;
21
22
use
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
;
23
use
ILIAS\DI\UIServices
;
24
use
ILIAS\GlobalScreen\Scope\Toast\Collector\Renderer\StandardToastRendererFactory
;
25
26
class
ToastServices
27
{
28
private
ToastFactory
$toast_factory
;
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
}
ILIAS\GlobalScreen\Scope\Toast\ToastServices\$toast_factory
ToastFactory $toast_factory
Definition:
ToastServices.php:28
ILIAS\GlobalScreen\Scope\Toast\Collector\Renderer\StandardToastRendererFactory
Definition:
StandardToastRendererFactory.php:30
ILIAS\GlobalScreen\Scope\Toast
UIServices
ILIAS\GlobalScreen\Scope\Toast\ToastServices\$ui
UIServices $ui
Definition:
ToastServices.php:29
ILIAS\DI\UIServices
Provides fluid interface to RBAC services.
Definition:
UIServices.php:23
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:26
ILIAS\GlobalScreen\Scope\Toast\ToastServices\__construct
__construct(UIServices $ui)
Definition:
ToastServices.php:31
ILIAS\Repository\ui
ui()
Definition:
trait.GlobalDICGUIServices.php:42
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
Definition:
ToastFactory.php:30
StandardToastRendererFactory
ToastFactory
ILIAS\GlobalScreen\Scope\Toast\ToastServices\factory
factory()
Definition:
ToastServices.php:37
src
GlobalScreen
Scope
Toast
ToastServices.php
Generated on Wed Sep 3 2025 22:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)