Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class MigrationAbortedEvent extends Event |
||
10 | { |
||
11 | protected $step; |
||
12 | protected $exception; |
||
13 | |||
14 | 4 | public function __construct(MigrationStep $step, MigrationAbortedException $exception) |
|
18 | 4 | } |
|
19 | |||
20 | /** |
||
21 | * @return MigrationStep |
||
22 | */ |
||
23 | 4 | public function getStep() |
|
24 | { |
||
25 | 4 | return $this->step; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return MigrationAbortedException |
||
30 | */ |
||
31 | 4 | public function getException() |
|
34 | } |
||
35 | } |
||
36 |