Beispiel #1
0
 /**
  * Construct new dispatcher instance of one doesn't exist. But there can
  * only be a single instance of the dispatcher.
  *
  * @return Flux_Dispatcher
  * @access public
  */
 public static function getInstance()
 {
     if (!self::$dispatcher) {
         self::$dispatcher = new Flux_Dispatcher();
     }
     return self::$dispatcher;
 }