You are here

public function CompiledRoute::unserialize in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/routing/CompiledRoute.php \Symfony\Component\Routing\CompiledRoute::unserialize()
  2. 8 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::unserialize()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::unserialize()

Overrides CompiledRoute::unserialize

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 162
Contains \Drupal\Core\Routing\CompiledRoute.

Class

CompiledRoute
A compiled route contains derived information from a route object.

Namespace

Drupal\Core\Routing

Code

public function unserialize($serialized) {
  parent::unserialize($serialized);
  $data = unserialize($serialized);
  $this->fit = $data['fit'];
  $this->patternOutline = $data['patternOutline'];
  $this->numParts = $data['numParts'];
}