You are here

public function Route::serialize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::serialize()

File

vendor/symfony/routing/Route.php, line 104

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function serialize() {
  return serialize(array(
    'path' => $this->path,
    'host' => $this->host,
    'defaults' => $this->defaults,
    'requirements' => $this->requirements,
    'options' => $this->options,
    'schemes' => $this->schemes,
    'methods' => $this->methods,
    'condition' => $this->condition,
    'compiled' => $this->compiled,
  ));
}