FilterFinder
in package
FinalYes
Finds filters.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
-
find()
: array{before: list
, after: list } -
getRequiredFilters()
: array{before: list
, after: list } - Returns Required Filters
- getRouteFilters() : array<string|int, mixed>
Properties
$filters read-only
private
Filters
$filters
$router read-only
private
Router
$router
Methods
__construct()
public
__construct([Router|null $router = null ][, Filters|null $filters = null ]) : mixed
Parameters
find()
public
find(string $uri) : array{before: list, after: list}
Parameters
- $uri : string
-
URI path to find filters for
Return values
array{before: listarray of filter alias or classname
getRequiredFilters()
Returns Required Filters
public
getRequiredFilters() : array{before: list, after: list}
Return values
array{before: listgetRouteFilters()
private
getRouteFilters(string $uri) : array<string|int, mixed>
Parameters
- $uri : string