You are here

class DumperRoute in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Matcher/Dumper/DumperRoute.php \Symfony\Component\Routing\Matcher\Dumper\DumperRoute

Container for a Route.

@author Arnaud Le Blanc <arnaud.lb@gmail.com>

@internal

Hierarchy

  • class \Symfony\Component\Routing\Matcher\Dumper\DumperRoute

Expanded class hierarchy of DumperRoute

1 file declares its use of DumperRoute
DumperPrefixCollectionTest.php in vendor/symfony/routing/Tests/Matcher/Dumper/DumperPrefixCollectionTest.php

File

vendor/symfony/routing/Matcher/Dumper/DumperRoute.php, line 23

Namespace

Symfony\Component\Routing\Matcher\Dumper
View source
class DumperRoute {

  /**
   * @var string
   */
  private $name;

  /**
   * @var Route
   */
  private $route;

  /**
   * Constructor.
   *
   * @param string $name  The route name
   * @param Route  $route The route
   */
  public function __construct($name, Route $route) {
    $this->name = $name;
    $this->route = $route;
  }

  /**
   * Returns the route name.
   *
   * @return string The route name
   */
  public function getName() {
    return $this->name;
  }

  /**
   * Returns the route.
   *
   * @return Route The route
   */
  public function getRoute() {
    return $this->route;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DumperRoute::$name private property
DumperRoute::$route private property
DumperRoute::getName public function Returns the route name.
DumperRoute::getRoute public function Returns the route.
DumperRoute::__construct public function Constructor.