4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing\Matcher\Dumper
;
14 use Symfony\Component\Routing\Route
;
17 * Container for a Route.
19 * @author Arnaud Le Blanc <arnaud.lb@gmail.com>
36 * @param string $name The route name
37 * @param Route $route The route
39 public function __construct($name, Route
$route)
42 $this->route
= $route;
46 * Returns the route name.
48 * @return string The route name
50 public function getName()
58 * @return Route The route
60 public function getRoute()