public function RouteAware::getRoutes

Get the routes that point to this content.

Note: For PHPCR ODM, as explained in RouteObjectInterface the route must use the routeContent field to store the reference to the content so you can get the routes with Referrers(referringDocument="Symfony\Cmf\Bundle\RoutingBundle\Document\Route", referencedBy="routeContent")

Return value

\Symfony\Component\Routing\Route[] Route instances that point to this content

Overrides RouteAwareInterface::getRoutes

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/ContentAwareGeneratorTest.php, line 372

Class

RouteAware

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getRoutes() {
  return array();
}