You are here

public function RouteMock::getRouteKey in Zircon Profile 8.0

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

Class

RouteMock

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getRouteKey() {
  return null;
}