Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class StepExecutedEvent extends Event |
||
9 | { |
||
10 | protected $step; |
||
11 | protected $result; |
||
12 | |||
13 | 63 | public function __construct(MigrationStep $step, $result) |
|
14 | { |
||
15 | 63 | $this->step = $step; |
|
16 | 63 | $this->result = $result; |
|
17 | 63 | } |
|
18 | |||
19 | /** |
||
20 | * @return MigrationStep |
||
21 | */ |
||
22 | 63 | public function getStep() |
|
23 | { |
||
24 | 63 | return $this->step; |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return mixed |
||
29 | */ |
||
30 | 63 | public function getResult() |
|
33 | } |
||
34 | } |
||
35 |