Interface

Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface

interface MatcherDumperInterface

MatcherDumperInterface is the interface that all matcher dumper classes must implement.

Methods

string dump(array $options = array())

Dumps a set of routes to a string representation of executable code that can then be used to match a request against these routes.

RouteCollection getRoutes()

Gets the routes to dump.

Details

at line 31
public string dump(array $options = array())

Dumps a set of routes to a string representation of executable code that can then be used to match a request against these routes.

Parameters

array $options An array of options

Return Value

string Executable code

at line 38
public RouteCollection getRoutes()

Gets the routes to dump.

Return Value

RouteCollection A RouteCollection instance