You are here

public function CompiledRoute::unserialize in Drupal 8

File

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

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'];
}