5.1.3.3.1.2. Baleen\Migrations\Migration\Command\Middleware\SetOptionsMiddleware¶
-
class
SetOptionsMiddleware
¶ Checks if a migration is an instance of OptionsAwareInterface and if so sends it the options available in the command.
-
doExecute
(MigrateCommand $command, $next)¶ -
Parameters: - $command (MigrateCommand) –
- $next –
-
execute
($command, $next)¶ Parameters: - $command (object) –
- $next (callable) –
Returns: mixed
-