Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\Routing\Loader\Configurator; Chris@14: Chris@14: use Symfony\Component\Routing\Route; Chris@14: use Symfony\Component\Routing\RouteCollection; Chris@14: Chris@14: /** Chris@14: * @author Nicolas Grekas Chris@14: */ Chris@14: class RouteConfigurator Chris@14: { Chris@14: use Traits\AddTrait; Chris@14: use Traits\RouteTrait; Chris@14: Chris@14: private $parentConfigurator; Chris@14: Chris@14: public function __construct(RouteCollection $collection, Route $route, $name = '', CollectionConfigurator $parentConfigurator = null) Chris@14: { Chris@14: $this->collection = $collection; Chris@14: $this->route = $route; Chris@14: $this->name = $name; Chris@14: $this->parentConfigurator = $parentConfigurator; // for GC control Chris@14: } Chris@14: }