class MigrateRollbackEvent extends Event (View source)

Wraps a pre- or post-rollback event for event listeners.

Properties

protected MigrationInterface $migration

Migration entity.

Methods

__construct(MigrationInterface $migration)

Constructs a rollback event object.

getMigration()

Gets the migration entity.

Details

__construct(MigrationInterface $migration)

Constructs a rollback event object.

Parameters

MigrationInterface $migration

Migration entity.

MigrationInterface getMigration()

Gets the migration entity.

Return Value

MigrationInterface

The migration entity involved.