Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CompiledUrlMatcherDumper.php

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\Dumper

Code

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>-&gt;<span class="php-function-or-constant function member-of-self">generateCompiledRoutes</span>()}];

EOF;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal