trait DispatchEventsTrait

Properties

protected Dispatcher $events

Methods

dispatchEventsFor(object $entity, User $actor = null)

Dispatch all events for an entity.

Details

dispatchEventsFor(object $entity, User $actor = null)

Dispatch all events for an entity.

Parameters

object $entity
User $actor