Classes
FilteredRouteCollectionBuilder
in package
Table of Contents
- $annotationReader : Reader
- $area : string
- $controllerReflector : ControllerReflector
- $options : array<string|int, mixed>
- __construct() : mixed
- filter() : RouteCollection
- defaultRouteDisabled() : bool
- getAttributesAsAnnotation() : array<string|int, Areas>
- matchAnnotation() : bool
- matchHost() : bool
- matchName() : bool
- matchPath() : bool
Properties
$annotationReader
private
Reader
$annotationReader
$area
private
string
$area
$controllerReflector
private
ControllerReflector
$controllerReflector
$options
private
array<string|int, mixed>
$options
Methods
__construct()
public
__construct(Reader $annotationReader, ControllerReflector $controllerReflector, string $area[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $annotationReader : Reader
- $controllerReflector : ControllerReflector
- $area : string
- $options : array<string|int, mixed> = []
Return values
mixed —filter()
public
filter(RouteCollection $routes) : RouteCollection
Parameters
- $routes : RouteCollection
Return values
RouteCollection —defaultRouteDisabled()
private
defaultRouteDisabled(Route $route) : bool
Parameters
- $route : Route
Return values
bool —getAttributesAsAnnotation()
private
getAttributesAsAnnotation(ReflectionClass|ReflectionMethod $reflection, string $className) : array<string|int, Areas>
Parameters
- $reflection : ReflectionClass|ReflectionMethod
- $className : string
Return values
array<string|int, Areas> —matchAnnotation()
private
matchAnnotation(Route $route) : bool
Parameters
- $route : Route
Return values
bool —matchHost()
private
matchHost(Route $route) : bool
Parameters
- $route : Route
Return values
bool —matchName()
private
matchName(string $name) : bool
Parameters
- $name : string
Return values
bool —matchPath()
private
matchPath(Route $route) : bool
Parameters
- $route : Route