45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * This file is part of the Symfony package.
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * (c) Fabien Potencier <fabien@symfony.com>
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * For the full copyright and license information, please view the LICENSE
							 | 
						||
| 
								 | 
							
								 * file that was distributed with this source code.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace Symfony\Component\DependencyInjection\Loader\Configurator;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								use Symfony\Component\DependencyInjection\Definition;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * @author Nicolas Grekas <p@tchwork.com>
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								class InlineServiceConfigurator extends AbstractConfigurator
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    use Traits\ArgumentTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\AutowireTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\BindTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\CallTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\ConfiguratorTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\ConstructorTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\FactoryTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\FileTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\LazyTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\ParentTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\PropertyTrait;
							 | 
						||
| 
								 | 
							
								    use Traits\TagTrait;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    public const FACTORY = 'service';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    private string $id = '[inline]';
							 | 
						||
| 
								 | 
							
								    private bool $allowParent = true;
							 | 
						||
| 
								 | 
							
								    private ?string $path = null;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    public function __construct(Definition $definition)
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        $this->definition = $definition;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |