5.1.3.3.1.1. Baleen\Migrations\Migration\Command\Middleware\AbstractMiddleware¶
-
class
AbstractMiddleware
¶ Enforces command type checking, to make sure that all commands ran by these Middleware classes are able to handle MigrateCommand.
-
execute
($command, $next)¶ Parameters: - $command (object) –
- $next (callable) –
Returns: mixed
-
doExecute
(MigrateCommand $command, $next)¶ Concrete handling of the MigrateCommand.
Parameters: - $command (MigrateCommand) –
- $next (callable) –
Returns: mixed
-