supportedStepTypes; } /** * IT IS MANDATORY TO OVERRIDE THIS IN SUBCLASSES * @param MigrationStep $step * @return mixed * @throws \Exception */ public function execute(MigrationStep $step) { if (!in_array($step->type, $this->supportedStepTypes)) { throw new \Exception("Something is wrong! Executor can not work on step of type '{$step->type}'"); } } }