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>
38 * @param string $name The route name
39 * @param Route $route The route
41 public function __construct($name, Route $route)
44 $this->route = $route;
48 * Returns the route name.
50 * @return string The route name
52 public function getName()
60 * @return Route The route
62 public function getRoute()