class AbstractMatcher implements MatcherInterface (View source)

The AbstractMatcher class.

Methods

string
build(Route $route, array $data = array())

build

Route|false
match(string $route, string $method = 'GET', array $options = array())

Match routes.

Route|false
matchRoute(string $route, Route $routeItem)

Match routes.

setRoutes(array $routes)

Set Routes

array
getRouteMaps()

Method to get property RouteMaps

setRouteMaps(array $routeMaps)

Method to set property routeMaps

int
getCount()

Method to get property Count

boolean
getDebug()

Method to get property Debug

setDebug(boolean $debug)

Method to set property debug

Details

at line line 59
string build(Route $route, array $data = array())

build

Parameters

Route $route
array $data

Return Value

string

at line line 73
abstract Route|false match(string $route, string $method = 'GET', array $options = array())

Match routes.

Parameters

string $route
string $method
array $options

Return Value

Route|false

at line line 83
Route|false matchRoute(string $route, Route $routeItem)

Match routes.

Parameters

string $route
Route $routeItem

Return Value

Route|false

at line line 119
MatcherInterface setRoutes(array $routes)

Set Routes

Parameters

array $routes

Return Value

MatcherInterface

at line line 131
array getRouteMaps()

Method to get property RouteMaps

Return Value

array

at line line 143
AbstractMatcher setRouteMaps(array $routeMaps)

Method to set property routeMaps

Parameters

array $routeMaps

Return Value

AbstractMatcher Return self to support chaining.

at line line 286
int getCount()

Method to get property Count

Return Value

int

at line line 296
boolean getDebug()

Method to get property Debug

Return Value

boolean

at line line 308
AbstractMatcher setDebug(boolean $debug)

Method to set property debug

Parameters

boolean $debug

Return Value

AbstractMatcher Return self to support chaining.