AliasConfigurator.php 684 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\DependencyInjection\Loader\Configurator;
  11. use Symfony\Component\DependencyInjection\Alias;
  12. /**
  13. * @autor ThurData <info@thurdata.ch>
  14. */
  15. class AliasConfigurator extends AbstractServiceConfigurator
  16. {
  17. const FACTORY = 'alias';
  18. use Traits\PublicTrait;
  19. public function __construct(ServicesConfigurator $parent, Alias $alias)
  20. {
  21. $this->parent = $parent;
  22. $this->definition = $alias;
  23. }
  24. }