InlineServiceConfigurator.php 929 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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\Definition;
  12. /**
  13. * @author Nicolas Grekas <p@tchwork.com>
  14. */
  15. class InlineServiceConfigurator extends AbstractConfigurator
  16. {
  17. const FACTORY = 'inline';
  18. use Traits\ArgumentTrait;
  19. use Traits\AutowireTrait;
  20. use Traits\BindTrait;
  21. use Traits\FactoryTrait;
  22. use Traits\FileTrait;
  23. use Traits\LazyTrait;
  24. use Traits\ParentTrait;
  25. use Traits\TagTrait;
  26. private $id = '[inline]';
  27. private $allowParent = true;
  28. private $path = null;
  29. public function __construct(Definition $definition)
  30. {
  31. $this->definition = $definition;
  32. }
  33. }