ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Action.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Data\URI;
25 
30 abstract class Action
31 {
32 
33  public function __construct(
34  private string $label,
35  private URI|Signal $action
36  ) {
37  }
38 
39  public function getLabel(): string
40  {
41  return $this->label;
42  }
43 
44  public function getAction(): URI|Signal
45  {
46  return $this->action;
47  }
48 
49 }
__construct(private string $label, private URI|Signal $action)
Definition: Action.php:33