예제 #1
0
파일: Build.php 프로젝트: skymeyer/sugardev
 /**
  * Lazy load dispatcher
  * @return EventDispatcher
  */
 protected function getDispatcher()
 {
     return EventDispatcherFactory::getInstance();
 }
예제 #2
0
 /**
  * Shortcut factory using global event dispatcher
  * @return Invoker
  */
 public static function create()
 {
     return new Invoker(EventDispatcherFactory::getInstance());
 }