class NullMatcherDumper implements MatcherDumperInterface (View source)

Does not dump Route information.

Properties

protected RouteCollection $routes

The routes to be dumped.

Methods

addRoutes(RouteCollection $routes)

Adds additional routes to be dumped.

dump(array $options = [])

Dumps a set of routes to the router table in the database.

RouteCollection
getRoutes()

Gets the routes to match.

Details

addRoutes(RouteCollection $routes)

Adds additional routes to be dumped.

Parameters

RouteCollection $routes

A collection of routes to add to this dumper.

dump(array $options = [])

Dumps a set of routes to the router table in the database.

Available options:

  • provider: The route grouping that is being dumped. All existing routes with this provider will be deleted on dump.
  • base_class: The base class name.

Parameters

array $options

An array of options.

RouteCollection getRoutes()

Gets the routes to match.

Return Value

RouteCollection

A RouteCollection instance representing all routes currently in the dumper.