Свойство | Тип | Описание | |
---|---|---|---|
$httpVerbFilters | array | The HTTP verb to filter bindings. | |
$routeGroups | array | Array of route groups. |
Метод | Описание | |
---|---|---|
bunch ( Closure $callback ) : JasonLewis\EnhancedRouter\RouteGroup | An alias of the group method but without the attributes. | |
dispatch ( |
Get the response for a given request. | |
findPatternFilters ( string $method, string $path ) : array | Find the patterned filters matching a request. | |
getRouteGroups ( ) : array | Get the array of route groups. | |
getRoutes ( ) : |
Get the route collection instance. | |
group ( array $attributes, Closure $callback ) : JasonLewis\EnhancedRouter\RouteGroup | Create a route group with shared attributes. Overloading this method allows developers to chain requirements and filters to all routes within the group. | |
on ( string | array $verbs, string | array $names ) : void | Tie a registered middleware to an HTTP verb or verbs. |
Метод | Описание | |
---|---|---|
mergeGroupFilters ( Illuminate\Routing\Route $route, JasonLewis\EnhancedRouter\RouteGroup $group ) : void | Merge a groups filters onto a route. | |
mergeRouteGroups ( ) : void | Merge route groups into the core route collection. |
public dispatch ( |
||
$request | ||
Результат |
public getRouteGroups ( ) : array | ||
Результат | array |
public getRoutes ( ) : |
||
Результат |
protected mergeGroupFilters ( Illuminate\Routing\Route $route, JasonLewis\EnhancedRouter\RouteGroup $group ) : void | ||
$route | Illuminate\Routing\Route | |
$group | JasonLewis\EnhancedRouter\RouteGroup | |
Результат | void |
protected mergeRouteGroups ( ) : void | ||
Результат | void |
protected array $httpVerbFilters | ||
Результат | array |
protected array $routeGroups | ||
Результат | array |