You are here

public function RouteObject::getRouteKey in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\RouteObject::getRouteKey()
  2. 8 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.0 vendor/symfony-cmf/routing/Tests/Enhancer/RouteObject.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\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/Enhancer/RouteObject.php, line 23

Class

RouteObject
Empty abstract class to be able to mock an object that both extends Route and implements RouteObjectInterface

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function getRouteKey() {
  return null;
}