1 | <?php |
||
10 | trait ExecutionStateTrait |
||
11 | { |
||
12 | /** |
||
13 | * @var bool |
||
14 | */ |
||
15 | private $executionStatus = false; |
||
16 | |||
17 | /** |
||
18 | * Retrieve the execution state of the process |
||
19 | * @return bool |
||
20 | */ |
||
21 | 6 | public function hasExecuted(): bool |
|
25 | |||
26 | /** |
||
27 | * Mark the process as executed |
||
28 | */ |
||
29 | 5 | public function markAsExecuted() |
|
33 | } |
||
34 |