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
 /**
  * Get the route scopes and their connected routes.
  *
  * @return array
  */
 public static function routes()
 {
     return static::$_collection->routes();
 }