no need to set the compiled route to null when cloning

This commit is contained in:
Tobias Schultze 2012-12-07 22:24:45 +01:00
parent 79b4ca686e
commit 76e5bce801

View File

@ -76,11 +76,6 @@ class Route implements \Serializable
$this->setHostnamePattern($hostnamePattern);
}
public function __clone()
{
$this->compiled = null;
}
public function serialize()
{
return serialize(array(