| 1 | <?php |
||
| 9 | class BeforeStepExecutionEvent extends Event |
||
| 10 | { |
||
| 11 | protected $step; |
||
| 12 | protected $executor; |
||
| 13 | |||
| 14 | 36 | public function __construct(MigrationStep $step, ExecutorInterface $executor) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return MigrationStep |
||
| 22 | */ |
||
| 23 | 36 | public function getStep() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | 36 | public function getExecutor() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Here be dragons |
||
| 38 | * @param ExecutorInterface $executor |
||
| 39 | */ |
||
| 40 | public function replaceExecutor(ExecutorInterface $executor) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Lasciate ogni speranza, voi ch'entrate |
||
| 47 | * @param MigrationStep $step |
||
| 48 | */ |
||
| 49 | public function replaceStep(MigrationStep $step) |
||
| 53 | } |
||
| 54 |