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\DependencyInjection\Loader\Configurator;
14 use Symfony\Component\DependencyInjection\Alias;
17 * @author Nicolas Grekas <p@tchwork.com>
19 class AliasConfigurator extends AbstractServiceConfigurator
21 const FACTORY = 'alias';
23 use Traits\PublicTrait;
25 public function __construct(ServicesConfigurator $parent, Alias $alias)
27 $this->parent = $parent;
28 $this->definition = $alias;