Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | trait ActionTrait |
||
16 | { |
||
17 | /** |
||
18 | * @var string|null |
||
19 | */ |
||
20 | protected ?string $action; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * Collect the value of the action property. |
||
25 | * |
||
26 | * @return string|null |
||
27 | */ |
||
28 | public function getAction(): ?string |
||
29 | { |
||
30 | return $this->action; |
||
31 | } |
||
32 | |||
33 | |||
34 | /** |
||
35 | * Set the value of the action property. |
||
36 | * |
||
37 | * @param string|null $action |
||
38 | * @throws \SimpleSAML\XML\Exception\SchemViolationException |
||
39 | */ |
||
40 | protected function setAction(?string $action): void |
||
44 | } |
||
45 | } |
||
46 |