5.1.5.2. Baleen\Migrations\Timeline\TimelineEmitter¶
-
class
TimelineEmitter¶ Dispatches Timeline events.
-
property
eventDispatcher¶ protected null|EventDispatcherInterface
-
dispatchCollectionBefore(DeltaInterface $targetVersion, OptionsInterface $options, Linked $versions, Progress $progress = null)¶ Parameters: - $targetVersion (DeltaInterface) –
- $options (OptionsInterface) –
- $versions (Linked) –
- $progress (Progress) –
Returns: SymfonyComponentEventDispatcherEvent|void
-
dispatchCollectionAfter(DeltaInterface $targetVersion, OptionsInterface $options, Linked $versions, Progress $progress = null)¶ dispatchCollectionAfter.
Parameters: - $targetVersion (DeltaInterface) –
- $options (OptionsInterface) –
- $versions (Linked) –
- $progress (Progress) –
Returns: SymfonyComponentEventDispatcherEvent|void
-
dispatchMigrationBefore(DeltaInterface $version, OptionsInterface $options, Progress $progress = null)¶ dispatchMigrationBefore.
Parameters: - $version (DeltaInterface) –
- $options (OptionsInterface) –
- $progress (Progress) –
Returns: SymfonyComponentEventDispatcherEvent|void
-
dispatchMigrationAfter(DeltaInterface $version, OptionsInterface $options, Progress $progress = null)¶ dispatchMigrationAfter.
Parameters: - $version (DeltaInterface) –
- $options (OptionsInterface) –
- $progress (Progress) –
Returns: SymfonyComponentEventDispatcherEvent|void
-
getEventDispatcher()¶ Returns: null|EventDispatcherInterface
-
setEventDispatcher(EventDispatcherInterface $eventDispatcher)¶ Parameters: - $eventDispatcher (EventDispatcherInterface) –
-
dispatchEvent($name, Event $event)¶ Dispatches an event if an EventDispatcher is available.
Parameters: - $name –
- $event (Event) –
Returns: Event
-
property