class PhpMatcherDumper

PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.

@author Fabien Potencier <fabien@symfony.com> @author Tobias Schultze <http://tobion.de>

Hierarchy

Expanded class hierarchy of PhpMatcherDumper

1 file declares its use of PhpMatcherDumper

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php, line 23

Namespace

Symfony\Component\Routing\Matcher\Dumper
View source

Members

Namesort descending Modifiers Type Description Overrides
MatcherDumper::$routes private property
MatcherDumper::getRoutes public function Gets the routes to dump. Overrides MatcherDumperInterface::getRoutes
MatcherDumper::__construct public function Constructor.
PhpMatcherDumper::compileRoute private function Compiles a single Route to PHP code used to match it against the path info.
PhpMatcherDumper::compileRoutes private function Generates PHP code recursively to match a RouteCollection with all child routes and child collections.
PhpMatcherDumper::countDirectChildRoutes private function Counts the number of routes as direct child of the RouteCollection.
PhpMatcherDumper::dump public function Dumps a set of routes to a PHP class. Overrides MatcherDumperInterface::dump
PhpMatcherDumper::generateMatchMethod private function Generates the code for the match method implementing UrlMatcherInterface.