class RouteBuilder (View source)

Properties

protected $router
protected $route

Methods

__construct(Router $router, Route $route)

RouteBuilder constructor.

setName(mixed $name)

No description

addMiddleware(string $middlewareClassName, $priority = 10)

No description

getRoute()

No description

getRouter()

No description

__call($method, $arguments)

No description

Details

__construct(Router $router, Route $route)

RouteBuilder constructor.

Parameters

Router $router
Route $route

setName(mixed $name)

No description

Parameters

mixed $name

addMiddleware(string $middlewareClassName, $priority = 10)

No description

Parameters

string $middlewareClassName
$priority

Route getRoute()

No description

Return Value

Route

Router getRouter()

No description

Return Value

Router

__call($method, $arguments)

No description

Parameters

$method
$arguments