class BinaryMatcher extends AbstractMatcher (View source)

The BinaryMatcher 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

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

build

Parameters

Route $route
array $data

Return Value

string

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

Match routes.

Parameters

string $route
string $method
array $options

Return Value

Route|false

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

Match routes.

Parameters

string $route
Route $routeItem

Return Value

Route|false

MatcherInterface setRoutes(array $routes)

Set Routes

Parameters

array $routes

Return Value

MatcherInterface

array getRouteMaps()

Method to get property RouteMaps

Return Value

array

AbstractMatcher setRouteMaps(array $routeMaps)

Method to set property routeMaps

Parameters

array $routeMaps

Return Value

AbstractMatcher Return self to support chaining.

int getCount()

Method to get property Count

Return Value

int

boolean getDebug()

Method to get property Debug

Return Value

boolean

AbstractMatcher setDebug(boolean $debug)

Method to set property debug

Parameters

boolean $debug

Return Value

AbstractMatcher Return self to support chaining.