function CompiledRoute::unserialize

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.