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>
29 * @param string $name The route name
30 * @param Route $route The route
32 public function __construct($name, Route $route)
35 $this->route = $route;
39 * Returns the route name.
41 * @return string The route name
43 public function getName()
51 * @return Route The route
53 public function getRoute()