ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
Marker.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class Marker implements MarkerInterface
24 {
25  protected Action $action;
26  protected string $data_value;
27 
28  public function __construct(Action $action, string $data_value)
29  {
30  $this->action = $action;
31  $this->data_value = $data_value;
32  }
33 
34  public function action(): Action
35  {
36  return $this->action;
37  }
38 
39  public function dataValue(): string
40  {
41  return $this->data_value;
42  }
43 }
__construct(Action $action, string $data_value)
Definition: Marker.php:28