You are here

public function RouteObjectInterface::getContent in Zircon Profile 8

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

2 methods override RouteObjectInterface::getContent()
RouteMock::getContent in vendor/symfony-cmf/routing/Tests/Routing/RouteMock.php
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.
RouteObject::getContent in vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php
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.

File

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

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 getContent();