Table of Contents
-
$action
: mixed
-
$method
: string
-
$middleware
: array<string|int, mixed>
-
$name
: string
-
$prefix
: string
-
$routeSegments
: array<string|int, mixed>
-
$uri
: string
-
__construct()
: mixed
-
generateRouteProperties()
: void
-
getMiddleware()
: mixed
-
middleware()
: static
-
name()
: static
-
prefix()
: static
$action
public
mixed
$action
$method
public
string
$method
$middleware
public
array<string|int, mixed>
$middleware
= []
$name
public
string
$name
= ""
$prefix
public
string
$prefix
= ""
$routeSegments
public
array<string|int, mixed>
$routeSegments
= []
$uri
public
string
$uri
__construct()
public
__construct(string $method, string $uri, array<string|int, mixed>|callable $action) : mixed
Parameters
-
$method
: string
-
-
$uri
: string
-
-
$action
: array<string|int, mixed>|callable
-
Return values
mixed
—
generateRouteProperties()
public
generateRouteProperties() : void
Return values
void
—
getMiddleware()
public
getMiddleware() : mixed
Return values
mixed
—
middleware()
public
middleware(array<string|int, mixed> $middleware) : static
Parameters
-
$middleware
: array<string|int, mixed>
-
Return values
static
—
name()
public
name(string $name) : static
Parameters
-
$name
: string
-
Return values
static
—
prefix()
public
prefix(string $prefix) : static
Parameters
-
$prefix
: string
-
Return values
static
—