File tree
1 file changed
+5
-0
lines changed- src/Symfony/Component/Routing/Loader
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
@@ -15,6 +15,7 @@
15
15
use Symfony\Component\Config\Loader\LoaderInterface;
16
16
use Symfony\Component\Config\Loader\LoaderResolverInterface;
17
17
use Symfony\Component\Config\Resource\FileResource;
18
+use Symfony\Component\Routing\Annotation\Route as RouteAnnotation;
18
19
use Symfony\Component\Routing\Route;
19
20
use Symfony\Component\Routing\RouteCollection;
20
21
@@ -129,6 +130,10 @@ public function load($class, $type = null)
129
130
return $collection;
130
131
}
131
132
133
+ /**
134
+ * @param RouteAnnotation $annot or an object that exposes a similar interface
135
+ * @param array $globals
136
+ */
132
137
protected function addRoute(RouteCollection $collection, $annot, $globals, \ReflectionClass $class, \ReflectionMethod $method)
133
138
{
134
139
$name = $annot->getName();
0 commit comments