MigrateIdMapMessageEvent
class MigrateIdMapMessageEvent extends Event (View source)
Wraps an idmap message event for event listeners.
Properties
| protected MigrationInterface | $migration | Migration entity. |
|
| protected array | $sourceIdValues | Array of values uniquely identifying the source row. |
|
| protected string | $message | Message to be logged. |
|
| protected int | $level | Message severity. |
Methods
__construct(MigrationInterface $migration, array $source_id_values, string $message, int $level)
Constructs a post-save event object.
getMigration()
Gets the migration entity.
array
getSourceIdValues()
Gets the source ID values.
string
getMessage()
Gets the message to be logged.
int
getLevel()
Gets the severity level of the message (one of the MigrationInterface::MESSAGE_* constants).
Details
__construct(MigrationInterface $migration, array $source_id_values, string $message, int $level)
Constructs a post-save event object.
MigrationInterface
getMigration()
Gets the migration entity.
array
getSourceIdValues()
Gets the source ID values.
string
getMessage()
Gets the message to be logged.
int
getLevel()
Gets the severity level of the message (one of the MigrationInterface::MESSAGE_* constants).