PHP Class Themosis\Route\RouteCollection

Inheritance: extends Illuminate\Routing\RouteCollection
显示文件 Open project: themosis/framework Class Usage Examples

Protected Methods

Method Description
addToCollections ( Route $route ) Add the given route to the arrays of routes.
check ( array $routes, Illuminate\http\Request $request, boolean $includingMethod = true ) : Illuminate\Routing\Route | null Determine if a route in the array matches the request.

Method Details

addToCollections() protected method

Add the given route to the arrays of routes.
protected addToCollections ( Route $route )
$route Route

check() protected method

Determine if a route in the array matches the request.
protected check ( array $routes, Illuminate\http\Request $request, boolean $includingMethod = true ) : Illuminate\Routing\Route | null
$routes array
$request Illuminate\http\Request
$includingMethod boolean
return Illuminate\Routing\Route | null