public function CompiledRoute::serialize in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/CompiledRoute.php \Symfony\Component\Routing\CompiledRoute::serialize()
- 8 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::serialize()
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/CompiledRoute.php \Symfony\Component\Routing\CompiledRoute::serialize()
1 call to CompiledRoute::serialize()
- CompiledRoute::serialize in core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php
1 method overrides CompiledRoute::serialize()
- CompiledRoute::serialize in core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php
File
- vendor/
symfony/ routing/ CompiledRoute.php, line 57
Class
- CompiledRoute
- CompiledRoutes are returned by the RouteCompiler class.
Namespace
Symfony\Component\RoutingCode
public function serialize() {
return serialize(array(
'vars' => $this->variables,
'path_prefix' => $this->staticPrefix,
'path_regex' => $this->regex,
'path_tokens' => $this->tokens,
'path_vars' => $this->pathVariables,
'host_regex' => $this->hostRegex,
'host_tokens' => $this->hostTokens,
'host_vars' => $this->hostVariables,
));
}