InlineServiceConfigurator.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. public const FACTORY = 'service';
  18. use Traits\ArgumentTrait;
  19. use Traits\AutowireTrait;
  20. use Traits\BindTrait;
  21. use Traits\CallTrait;
  22. use Traits\ConfiguratorTrait;
  23. use Traits\FactoryTrait;
  24. use Traits\FileTrait;
  25. use Traits\LazyTrait;
  26. use Traits\ParentTrait;
  27. use Traits\PropertyTrait;
  28. use Traits\TagTrait;
  29. private $id = '[inline]';
  30. private $allowParent = true;
  31. private $path = null;
  32. public function __construct(Definition $definition)
  33. {
  34. $this->definition = $definition;
  35. }
  36. }