class CompiledRoute

A compiled route contains derived information from a route object.

Hierarchy

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 10

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
CompiledRoute::$fit protected property The fitness of this route.
CompiledRoute::$hostRegex private property
CompiledRoute::$hostTokens private property
CompiledRoute::$hostVariables private property
CompiledRoute::$numParts protected property The number of parts in the path of this route.
CompiledRoute::$pathVariables private property
CompiledRoute::$patternOutline protected property The pattern outline of this route.
CompiledRoute::$regex private property
CompiledRoute::$staticPrefix private property
CompiledRoute::$tokens private property
CompiledRoute::$variables private property
CompiledRoute::getDefaults public function Returns the defaults.
CompiledRoute::getFit public function Returns the fit of this route.
CompiledRoute::getHostRegex public function Returns the host regex.
CompiledRoute::getHostTokens public function Returns the host tokens.
CompiledRoute::getHostVariables public function Returns the host variables.
CompiledRoute::getNumParts public function Returns the number of parts in this route's path.
CompiledRoute::getOptions public function Returns the options.
CompiledRoute::getPathVariables public function Returns the path variables.
CompiledRoute::getPatternOutline public function Returns the pattern outline of this route.
CompiledRoute::getRegex public function Returns the regex.
CompiledRoute::getRequirements public function Returns the requirements.
CompiledRoute::getStaticPrefix public function Returns the static prefix.
CompiledRoute::getTokens public function Returns the tokens.
CompiledRoute::getVariables public function Returns the variables.
CompiledRoute::serialize public function Overrides CompiledRoute::serialize
CompiledRoute::unserialize public function Overrides CompiledRoute::unserialize
CompiledRoute::__construct public function Constructs a new compiled route object. Overrides CompiledRoute::__construct

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!CompiledRoute.php/class/CompiledRoute/8.1.x