function CompiledUrlMatcherDumper::dump
Overrides MatcherDumperInterface::dump
File
-
vendor/
symfony/ routing/ Matcher/ Dumper/ CompiledUrlMatcherDumper.php, line 37
Class
- CompiledUrlMatcherDumper
- CompiledUrlMatcherDumper creates PHP arrays to be used with CompiledUrlMatcher.
Namespace
Symfony\Component\Routing\Matcher\DumperCode
public function dump(array $options = []) : string {
return <<<EOF
<?php
/**
* This file has been auto-generated
* by the Symfony Routing Component.
*/
return [
{<span class="php-variable">$this</span>-><span class="php-function-or-constant function member-of-self">generateCompiledRoutes</span>()}];
EOF;
}