Skip to content

Commit 76e5bce

Browse files
committed
no need to set the compiled route to null when cloning
1 parent 79b4ca6 commit 76e5bce

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Symfony/Component/Routing/Route.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ public function __construct($pattern, array $defaults = array(), array $requirem
7676
$this->setHostnamePattern($hostnamePattern);
7777
}
7878

79-
public function __clone()
80-
{
81-
$this->compiled = null;
82-
}
83-
8479
public function serialize()
8580
{
8681
return serialize(array(

0 commit comments

Comments
 (0)