示例#1
0
 /**
  * 
  * @return Api_Core_Router
  */
 public static function getInstance()
 {
     if (null === self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
示例#2
0
 /**
  * 
  * @return \Api_Core_Router
  */
 function createRouter()
 {
     return Api_Core_Router::getInstance();
 }