Пример #1
0
 /**
  * Promote a route (by default, the last one added) to the beginning of the list
  *
  * @param int $which A zero-based array index representing the route to move. For example,
  *    if 3 routes have been added, the last route would be 2.
  * @return bool Returns false if no route exists at the position specified by $which.
  */
 public static function promote($which = null)
 {
     return static::$_routes->promote($which);
 }