Add a note about an empty catch

This commit is contained in:
Guilhem N 2016-11-30 14:17:42 +01:00
parent ceb1d034c8
commit f810f6a94e
No known key found for this signature in database
GPG Key ID: 9E5D2DB67BF054DD

View File

@ -107,6 +107,8 @@ class RouteDescriber implements DescriberInterface
try { try {
return new \ReflectionMethod($class, $method); return new \ReflectionMethod($class, $method);
} catch (\ReflectionException $e) { } catch (\ReflectionException $e) {
// In case we can't reflect the controller, we just
// ignore the route
} }
} }
} }