class MigrateRowDeleteEvent extends Event (View source)

Wraps a row deletion event for event listeners.

Properties

protected MigrationInterface $migration

Migration entity.

protected array $destinationIdValues

Values representing the destination ID.

Methods

__construct(MigrationInterface $migration, array $destination_id_values)

Constructs a row deletion event object.

getMigration()

Gets the migration entity.

array
getDestinationIdValues()

Gets the destination ID values.

Details

__construct(MigrationInterface $migration, array $destination_id_values)

Constructs a row deletion event object.

Parameters

MigrationInterface $migration

Migration entity.

array $destination_id_values

Values represent the destination ID.

MigrationInterface getMigration()

Gets the migration entity.

Return Value

MigrationInterface

The migration being rolled back.

array getDestinationIdValues()

Gets the destination ID values.

Return Value

array

The destination ID as an array.