You are here

public function RouteObject::getContent in Zircon Profile 8

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

Class

RouteObject

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getContent() {
  return null;
}