public function ProviderBasedGenerator::supports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ProviderBasedGenerator.php \Symfony\Cmf\Component\Routing\ProviderBasedGenerator::supports()
Support a route object and any string as route name
Overrides VersatileGeneratorInterface::supports
1 call to ProviderBasedGenerator::supports()
- ContentAwareGenerator::supports in vendor/
symfony-cmf/ routing/ ContentAwareGenerator.php - We additionally support empty name and data in parameters and RouteAware content
1 method overrides ProviderBasedGenerator::supports()
- ContentAwareGenerator::supports in vendor/
symfony-cmf/ routing/ ContentAwareGenerator.php - We additionally support empty name and data in parameters and RouteAware content
File
- vendor/
symfony-cmf/ routing/ ProviderBasedGenerator.php, line 71
Class
- ProviderBasedGenerator
- A Generator that uses a RouteProvider rather than a RouteCollection
Namespace
Symfony\Cmf\Component\RoutingCode
public function supports($name) {
return is_string($name) || $name instanceof SymfonyRoute;
}