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