/** * Lazy load dispatcher * @return EventDispatcher */ protected function getDispatcher() { return EventDispatcherFactory::getInstance(); }
/** * Shortcut factory using global event dispatcher * @return Invoker */ public static function create() { return new Invoker(EventDispatcherFactory::getInstance()); }