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