You are here

public function RouteMock::getContent 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::getContent()

Get the content document this route entry stands for. If non-null, the ControllerClassMapper uses it to identify a controller and the content is passed to the controller.

If there is no specific content for this url (i.e. its an "application" page), may return null.

Return value

object the document or entity this route entry points to

Overrides RouteObjectInterface::getContent

File

vendor/symfony-cmf/routing/Tests/Routing/RouteMock.php, line 27

Class

RouteMock

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getContent() {
  return null;
}