You are here

interface RouteReferrersInterface in Zircon Profile 8.0

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

Interface to be implemented by content that exposes editable route referrers.

Hierarchy

Expanded class hierarchy of RouteReferrersInterface

All classes that implement RouteReferrersInterface

File

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

Namespace

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

  /**
   * Add a route to the collection.
   *
   * @param Route $route
   */
  public function addRoute($route);

  /**
   * Remove a route from the collection.
   *
   * @param Route $route
   */
  public function removeRoute($route);

}

Members

Namesort descending Modifiers Type Description Overrides
RouteReferrersInterface::addRoute public function Add a route to the collection.
RouteReferrersInterface::removeRoute public function Remove a route from the collection.
RouteReferrersReadInterface::getRoutes public function Get the routes that point to this content. 1