class RouteCollection
Properties
protected array | $reverse | |||
protected DataGenerator | $dataGenerator | |||
protected RouteParser | $routeParser | |||
protected array | $routes | |||
protected array | $pendingRoutes |
class RouteCollection
protected array | $reverse | |||
protected DataGenerator | $dataGenerator | |||
protected RouteParser | $routeParser | |||
protected array | $routes | |||
protected array | $pendingRoutes |
__construct()
get($path, $name, $handler)
post($path, $name, $handler)
put($path, $name, $handler)
patch($path, $name, $handler)
delete($path, $name, $handler)
addRoute($method, $path, $name, $handler)
RouteCollection
removeRoute(string $name)
protected void
applyRoutes()
array
getRoutes()
getRouteData()
protected
fixPathPart($part, array $parameters, string $routeName)
getPath($name, array $parameters = [])