ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ToastServices.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Toast
;
22
23
use
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
;
24
use
ILIAS\DI\UIServices
;
25
use
ILIAS\GlobalScreen\Scope\Toast\Collector\Renderer\StandardToastRendererFactory
;
26
27
class
ToastServices
28
{
29
private
ToastFactory
$toast_factory
;
30
31
public
function
__construct
(
private
UIServices
$ui)
32
{
33
$this->toast_factory =
new
ToastFactory
(
new
StandardToastRendererFactory
($this->
ui
));
34
}
35
36
public
function
factory
():
ToastFactory
37
{
38
return
$this->toast_factory
;
39
}
40
}
ILIAS\DI\UIServices
Provides fluid interface to RBAC services.
Definition:
UIServices.php:25
ILIAS\GlobalScreen\Scope\Toast\Collector\Renderer\StandardToastRendererFactory
Definition:
StandardToastRendererFactory.php:31
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
Definition:
ToastFactory.php:31
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:28
ILIAS\GlobalScreen\Scope\Toast\ToastServices\__construct
__construct(private UIServices $ui)
Definition:
ToastServices.php:31
ILIAS\GlobalScreen\Scope\Toast\ToastServices\factory
factory()
Definition:
ToastServices.php:36
ILIAS\GlobalScreen\Scope\Toast\ToastServices\$toast_factory
ToastFactory $toast_factory
Definition:
ToastServices.php:29
ILIAS\GlobalScreen\Scope\Toast
ILIAS\Repository\ui
ui()
Definition:
trait.GlobalDICGUIServices.php:53
components
ILIAS
GlobalScreen
src
Scope
Toast
ToastServices.php
Generated on Sat Oct 18 2025 23:03:08 for ILIAS by
1.9.4 (using
Doxyfile
)