Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class RunEvent extends Event |
||
20 | { |
||
21 | const STARTED = 'started'; |
||
22 | const COMPLETED = 'completed'; |
||
23 | const FAILED = 'failed'; |
||
24 | const UPDATED = 'updated'; |
||
25 | const SUCCESSFUL = 'successful'; |
||
26 | |||
27 | /** @var RunInterface */ |
||
28 | private $run; |
||
29 | |||
30 | /** |
||
31 | * RunEvent constructor. |
||
32 | * |
||
33 | * @param RunInterface $run |
||
34 | */ |
||
35 | 76 | public function __construct(RunInterface $run) |
|
38 | 76 | } |
|
39 | |||
40 | /** |
||
41 | * @return RunInterface |
||
42 | */ |
||
43 | 60 | public function getRun() |
|
48 |