public function DynamicRouter::supports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/DynamicRouter.php \Symfony\Cmf\Component\Routing\DynamicRouter::supports()
Delegate to our generator
Overrides VersatileGeneratorInterface::supports
File
- vendor/
symfony-cmf/ routing/ DynamicRouter.php, line 177
Class
- DynamicRouter
- A flexible router accepting matcher and generator through injection and using the RouteEnhancer concept to generate additional data on the routes.
Namespace
Symfony\Cmf\Component\RoutingCode
public function supports($name) {
if ($this->generator instanceof VersatileGeneratorInterface) {
return $this->generator
->supports($name);
}
return is_string($name);
}