public function Route::unserialize

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php, line 111

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function unserialize($data) {
  $data = unserialize($data);
  $this->path = $data['path'];
  $this->host = $data['host'];
  $this->defaults = $data['defaults'];
  $this->requirements = $data['requirements'];
  $this->options = $data['options'];
  $this->schemes = $data['schemes'];
  $this->methods = $data['methods'];
}