Skip to content

Trait EventDispatcherAwareTrait

Trait \Klitsche\Dog\Events\EventDispatcherAwareTrait

Methods

setEventDispatcher()

public setEventDispatcher ( 
    \Psr\EventDispatcher\EventDispatcherInterface $dispatcher
 ): void
Parameters
dispatcher \Psr\EventDispatcher\EventDispatcherInterface

getEventDispatcher()

public getEventDispatcher (  ): \Psr\EventDispatcher\EventDispatcherInterface
Returns
\Psr\EventDispatcher\EventDispatcherInterface

Test Coverage 💚

  • 💚 Lines: 100% (4 / 4)
  • 💚 Methods: 100% (2 / 2)

Used by