ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
30
public
function
__construct
(
private
UIServices
$ui)
31
{
32
$this->toast_factory =
new
ToastFactory
(
new
StandardToastRendererFactory
($this->
ui
));
33
}
34
35
public
function
factory
():
ToastFactory
36
{
37
return
$this->toast_factory
;
38
}
39
}
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\DI\UIServices
Provides fluid interface to RBAC services.
Definition:
UIServices.php:24
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:26
ILIAS\Repository\ui
ui()
Definition:
trait.GlobalDICGUIServices.php:53
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
Definition:
ToastFactory.php:30
StandardToastRendererFactory
ToastFactory
ILIAS\GlobalScreen\Scope\Toast\ToastServices\factory
factory()
Definition:
ToastServices.php:35
ILIAS\GlobalScreen\Scope\Toast\ToastServices\__construct
__construct(private UIServices $ui)
Definition:
ToastServices.php:30
components
ILIAS
GlobalScreen
src
Scope
Toast
ToastServices.php
Generated on Sun Aug 31 2025 23:03:03 for ILIAS by
1.8.13 (using
Doxyfile
)