5.1.3.3.1.3. Baleen\Migrations\Migration\Command\Middleware\TransactionMiddleware

class TransactionMiddleware

Wraps the migration in a transaction if the migration implements TransactionAwareInterface.

doExecute(MigrateCommand $command, $next)

{@inheritDoc}

Parameters:
execute($command, $next)
Parameters:
  • $command (object) –
  • $next (callable) –
Returns:

mixed