ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ActionAssignment.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 protected Action $action;
28 protected TagInterface $tag;
29 protected string $value;
30
31 public function __construct(
34 string $value = ''
35 ) {
36 $this->action = $action;
37 $this->tag = $tag;
38 $this->value = $value;
39 }
40
41 public function action(): Action
42 {
43 return $this->action;
44 }
45
46 public function tag(): TagInterface
47 {
48 return $this->tag;
49 }
50
51 public function value(): string
52 {
53 return $this->value;
54 }
55}
__construct(Action $action, TagInterface $tag, string $value='')