1 | <?php |
||
20 | class ConditionTarget implements TargetInterface |
||
21 | { |
||
22 | private string $condition; |
||
|
|||
23 | |||
24 | /** |
||
25 | * @param string $condition |
||
26 | * |
||
27 | * @return $this |
||
28 | */ |
||
29 | public function setCondition(string $condition): self |
||
30 | { |
||
31 | $this->condition = $condition; |
||
32 | |||
33 | return $this; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getCondition(): string |
||
40 | { |
||
41 | return $this->condition; |
||
42 | } |
||
43 | } |
||
44 |