ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
ToastAction.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Toast\Factory
;
22
26
class
ToastAction
27
{
28
public
function
__construct
(
private
string
$identifier,
private
string
$title,
private
\
Closure
$action)
29
{
30
}
31
32
public
function
getIdentifier
(): string
33
{
34
return
$this->identifier;
35
}
36
37
public
function
getTitle
(): string
38
{
39
return
$this->title;
40
}
41
42
public
function
getAction
(): \
Closure
43
{
44
return
$this->action;
45
}
46
}
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getAction
getAction()
Definition:
ToastAction.php:42
Closure
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getIdentifier
getIdentifier()
Definition:
ToastAction.php:32
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction
Definition:
ToastAction.php:26
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\__construct
__construct(private string $identifier, private string $title, private \Closure $action)
Definition:
ToastAction.php:28
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastAction\getTitle
getTitle()
Definition:
ToastAction.php:37
ILIAS\GlobalScreen\Scope\Toast\Factory
Definition:
isItem.php:21
components
ILIAS
GlobalScreen
src
Scope
Toast
Factory
ToastAction.php
Generated on Mon Sep 1 2025 23:03:12 for ILIAS by
1.8.13 (using
Doxyfile
)