routes() 공개 메소드

Get all the connected routes as a flat list.
public routes ( ) : Route[]
리턴 Cake\Routing\Route\Route[]
예제 #1
0
 /**
  * Get the route scopes and their connected routes.
  *
  * @return array
  */
 public static function routes()
 {
     if (!static::$initialized) {
         static::_loadRoutes();
     }
     return static::$_collection->routes();
 }
예제 #2
0
파일: Router.php 프로젝트: philliptan/lode
 /**
  * Get the route scopes and their connected routes.
  *
  * @return array
  */
 public static function routes()
 {
     return static::$_collection->routes();
 }