Class Route
Route
Namespace: Slim
Package: Slim
Author: Josh Lockhart, Thomas Bley
Since: 1.0.0
Located at thirdparty/Slim/Route.php
Package: Slim
Author: Josh Lockhart, Thomas Bley
Since: 1.0.0
Located at thirdparty/Slim/Route.php
public
|
|
public static
|
|
public static
array
|
|
public
string
|
|
public
|
|
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
string|null
|
|
public
|
|
public
array
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array[Callable]
|
|
public
|
|
public
boolean
|
|
protected
string
|
#
matchesCallback( array $m )
Convert a URL parameter (e.g. ":id", ":id+") into a regular expression |
public
|
|
public
|
protected
string
|
$pattern | |
#
The route pattern (e.g. "/books/:id") |
protected
mixed
|
$callable | |
#
The route callable |
protected
array
|
$conditions | array() |
#
Conditions for this route's URL parameters |
protected static
array
|
$defaultConditions | array() |
#
Default conditions applied to all route instances |
protected
string
|
$name | |
#
The name of this route (optional) |
protected
array
|
$params | array() |
#
Key-value array of URL parameters |
protected
array
|
$paramNames | array() |
#
value array of URL parameter names |
protected
array
|
$paramNamesPath | array() |
#
key array of URL parameter names with + at the end |
protected
array
|
$methods | array() |
#
HTTP methods supported by this Route |
protected
array[Callable]
|
$middleware | array() |
#
Middleware to be run before only this route instance |