interface MatcherInterface (View source)

Interface MatcherInterface

Methods

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

Match routes.

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

build

setRoutes(array $routes)

Set Routes

Details

at line line 29
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 39
string build(Route $route, array $data = array())

build

Parameters

Route $route
array $data

Return Value

string

at line line 48
MatcherInterface setRoutes(array $routes)

Set Routes

Parameters

array $routes

Return Value

MatcherInterface