ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ToastAction.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
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}
__construct(private string $identifier, private string $title, private \Closure $action)
Definition: ToastAction.php:28