class EventDispatcher (View source)

The EventDispatcher class is responsible for dispatching events internally that a user can listen for.

Methods

__construct(Configuration $configuration, EventManager $eventManager)

No description

dispatchMigrationEvent(string $eventName, string $direction, bool $dryRun)

No description

dispatchVersionEvent(Version $version, string $eventName, string $direction, bool $dryRun)

No description

dispatchEvent(string $eventName, EventArgs|null $args = null)

No description

Details

__construct(Configuration $configuration, EventManager $eventManager)

Parameters

Configuration $configuration
EventManager $eventManager

dispatchMigrationEvent(string $eventName, string $direction, bool $dryRun)

Parameters

string $eventName
string $direction
bool $dryRun

dispatchVersionEvent(Version $version, string $eventName, string $direction, bool $dryRun)

Parameters

Version $version
string $eventName
string $direction
bool $dryRun

dispatchEvent(string $eventName, EventArgs|null $args = null)

Parameters

string $eventName
EventArgs|null $args