class DumperRoute in Zircon Profile 8.0
Same name and namespace in other branches
- 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\DumperView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DumperRoute:: |
private | property | ||
DumperRoute:: |
private | property | ||
DumperRoute:: |
public | function | Returns the route name. | |
DumperRoute:: |
public | function | Returns the route. | |
DumperRoute:: |
public | function | Constructor. |