You are here

public function RouteObject::getRouteKey in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\RouteObject::getRouteKey()
  2. 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/RouteObject.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\RouteObject::getRouteKey()
Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\RouteObject::getRouteKey()

Get the route key.

This key will be used as route name instead of the symfony core compatible route name and can contain any characters.

Return null if you want to use the default key.

Return value

string the route name

Overrides RouteObjectInterface::getRouteKey

File

vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php, line 140

Class

RouteObject

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getRouteKey() {
  return '/some/key';
}