CompiledRoute::unserialize

public CompiledRoute::unserialize($serialized)

Overrides CompiledRoute::unserialize

File

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

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'];
}
doc_Drupal
2016-10-29 08:51:34
Comments
Leave a Comment

Please login to continue.