You are here

public function RouteObjectInterface::getRouteKey in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/RouteObjectInterface.php \Symfony\Cmf\Component\Routing\RouteObjectInterface::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

3 methods override RouteObjectInterface::getRouteKey()
RouteMock::getRouteKey in vendor/symfony-cmf/routing/Tests/Routing/RouteMock.php
Get the route key.
RouteObject::getRouteKey in vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php
Get the route key.
RouteObject::getRouteKey in vendor/symfony-cmf/routing/Tests/Enhancer/RouteObject.php
Get the route key.

File

vendor/symfony-cmf/routing/RouteObjectInterface.php, line 76

Class

RouteObjectInterface
Classes for entries in the routing table may implement this interface in addition to extending Symfony\Component\Routing\Route.

Namespace

Symfony\Cmf\Component\Routing

Code

public function getRouteKey();