| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 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 | |||
| 26 | /** @var RunInterface */ |
||
| 27 | private $run; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * RunEvent constructor. |
||
| 31 | * |
||
| 32 | * @param RunInterface $run |
||
| 33 | */ |
||
| 34 | 53 | public function __construct(RunInterface $run) |
|
| 37 | 53 | } |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return RunInterface |
||
| 41 | */ |
||
| 42 | 34 | public function getRun() |
|
| 47 |