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:
Returns:

SymfonyComponentEventDispatcherEvent|void

dispatchCollectionAfter(DeltaInterface $targetVersion, OptionsInterface $options, Linked $versions, Progress $progress = null)

dispatchCollectionAfter.

Parameters:
Returns:

SymfonyComponentEventDispatcherEvent|void

dispatchMigrationBefore(DeltaInterface $version, OptionsInterface $options, Progress $progress = null)

dispatchMigrationBefore.

Parameters:
Returns:

SymfonyComponentEventDispatcherEvent|void

dispatchMigrationAfter(DeltaInterface $version, OptionsInterface $options, Progress $progress = null)

dispatchMigrationAfter.

Parameters:
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