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

Breadcrumb

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

function CompiledUrlGeneratorDumper::dump

Overrides GeneratorDumperInterface::dump

File

vendor/symfony/routing/Generator/Dumper/CompiledUrlGeneratorDumper.php, line 91

Class

CompiledUrlGeneratorDumper
CompiledUrlGeneratorDumper creates a PHP array to be used with CompiledUrlGenerator.

Namespace

Symfony\Component\Routing\Generator\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">generateDeclaredRoutes</span>()}
];

EOF;
}

API Navigation

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