Class Route
Route
- Slim\Routable uses Slim\CallableResolverAwareTrait
-
Slim\Route
implements
Slim\Interfaces\RouteInterface
uses
Slim\MiddlewareAwareTrait
Methods summary
public
|
#
__construct( string|string[] $methods, string $pattern, callable $callable,
Create new route |
public
|
|
public
callable
|
|
public
|
|
public
string[]
|
|
public
|
|
public
null|string
|
|
public
string
|
|
public
boolean|string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
mixed
|
|
public
|
|
public
Psr\Http\Message\ResponseInterface
|
|
public
Psr\Http\Message\ResponseInterface
|
Methods inherited from Slim\Routable
add(),
getMiddleware(),
getPattern(),
setContainer(),
setPattern()
Methods used from Slim\MiddlewareAwareTrait
addMiddleware(),
callMiddlewareStack(),
seedMiddlewareStack()
Methods used from Slim\CallableResolverAwareTrait
Properties summary
protected
string[]
|
$methods
HTTP methods supported by this route |
#
[]
|
protected
string
|
$identifier
Route identifier |
|
protected
null|string
|
$name
Route name |
|
protected
|
$groups
Parent route groups |
|
protected
boolean|string
|
$outputBuffering
Output buffering mode |
#
'append'
|
protected
array
|
$arguments
Route parameters |
#
[]
|
protected
callable
|
$callable
The callable payload |