Heystack\Core\Traits\HasEventServiceTrait
Allows a using class to set a event service
Synopsis
trait HasEventServiceTrait
{
- // members
- protected EventDispatcher $eventService;
- // methods
- public void setEventService()
- public EventDispatcher getEventService()
Hierarchy
Members
protected
- $eventService — \Heystack\Core\EventDispatcher