You are here

public function Router::getMatcherDumperInstance in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Router.php \Symfony\Component\Routing\Router::getMatcherDumperInstance()

This method is public because it needs to be callable from a closure in PHP 5.3. It should be converted back to protected in 3.0.

@internal

Return value

MatcherDumperInterface

File

vendor/symfony/routing/Router.php, line 375

Class

Router
The Router class is an example of the integration of all pieces of the routing system for easier use.

Namespace

Symfony\Component\Routing

Code

public function getMatcherDumperInstance() {
  return new $this->options['matcher_dumper_class']($this
    ->getRouteCollection());
}