You are here

public function MatcherDumper::dump in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Routing/MatcherDumper.php \Drupal\Core\Routing\MatcherDumper::dump()
  2. 8 core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php \Drupal\Core\ProxyClass\Routing\MatcherDumper::dump()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php \Drupal\Core\ProxyClass\Routing\MatcherDumper::dump()

Dumps a set of routes to a string representation of executable code that can then be used to match a request against these routes.

Parameters

array $options An array of options:

Return value

string Executable code

Overrides MatcherDumperInterface::dump

File

core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php, line 85
Contains \Drupal\Core\ProxyClass\Routing\MatcherDumper.

Class

MatcherDumper
Provides a proxy class for \Drupal\Core\Routing\MatcherDumper.

Namespace

Drupal\Core\ProxyClass\Routing

Code

public function dump(array $options = array()) {
  return $this
    ->lazyLoadItself()
    ->dump($options);
}