You are here

interface RouteReferrersReadInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/RouteReferrersReadInterface.php \Symfony\Cmf\Component\Routing\RouteReferrersReadInterface

Interface to be implemented by content that wants to be support route generation from content with the DynamicRouter by providing the routes that point to it.

Hierarchy

Expanded class hierarchy of RouteReferrersReadInterface

All classes that implement RouteReferrersReadInterface

1 file declares its use of RouteReferrersReadInterface
ContentAwareGeneratorTest.php in vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php

File

vendor/symfony-cmf/routing/RouteReferrersReadInterface.php, line 20

Namespace

Symfony\Cmf\Component\Routing
View source
interface RouteReferrersReadInterface {

  /**
   * Get the routes that point to this content.
   *
   * @return Route[] Route instances that point to this content
   */
  public function getRoutes();

}

Members

Namesort descending Modifiers Type Description Overrides
RouteReferrersReadInterface::getRoutes public function Get the routes that point to this content. 1