class
Illuminate
/
Routing
/
AbstractRouteCollection
You are viewing an older version of the documentation. For the latest, please visit master documentation.
abstract
AbstractRouteCollection
Implements
Methods
protected
handleMatchedRoute ( Request $request , $route ) : Route
Handle the matched route.
Parameters
protected
checkForAlternateVerbs ( $request ) : array
Determine if any routes match on another HTTP verb.
Parameters
- $request Request
protected
matchAgainstRoutes ( array $routes , $request , $includingMethod ) : Route |null
Determine if a route in the array matches the request.
Parameters
- $routes Illuminate\...\Route[]
- $request Request
- $includingMethod bool
protected
getRouteForMethods ( $request , array $methods ) : Route
Get a route (if necessary) that responds when other available methods are present.
Parameters
- $request Request
- $methods string[]
protected
methodNotAllowed ( array $others , $method ) : void
Throw a method not allowed HTTP exception.
Parameters
- $others array
- $method string
public
compile ( ) : array
Compile the routes for caching.
public
dumper ( ) : Symfony\...\CompiledUrlMatcherDumper
Return the CompiledUrlMatcherDumper instance for the route collection.
public
toSymfonyRouteCollection ( ) : Symfony\...\RouteCollection
Convert the collection to a Symfony RouteCollection instance.
protected
addToSymfonyRoutesCollection ( Symfony\...\RouteCollection $symfonyRoutes , Route $route ) : Symfony\...\RouteCollection
Add a route to the SymfonyRouteCollection instance.
Parameters
- $symfonyRoutes Symfony\...\RouteCollection
- $route Route
protected
generateRouteName ( ) : string
Get a randomly generated route name.
public
count ( ) : int
Count the number of items in the collection.