no need to set the compiled route to null when cloning
This commit is contained in:
parent
79b4ca686e
commit
76e5bce801
@ -76,11 +76,6 @@ class Route implements \Serializable
|
||||
$this->setHostnamePattern($hostnamePattern);
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->compiled = null;
|
||||
}
|
||||
|
||||
public function serialize()
|
||||
{
|
||||
return serialize(array(
|
||||
|
Reference in New Issue
Block a user