You are here

public function Router::getGeneratorDumperInstance in Zircon Profile 8

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

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

GeneratorDumperInterface

File

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

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 getGeneratorDumperInstance() {
  return new $this->options['generator_dumper_class']($this
    ->getRouteCollection());
}