* * 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; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @author Nicolas Grekas */ class PrototypeConfigurator extends AbstractServiceConfigurator { const FACTORY = 'load'; use Traits\AbstractTrait; use Traits\ArgumentTrait; use Traits\AutoconfigureTrait; use Traits\AutowireTrait; use Traits\BindTrait; use Traits\CallTrait; use Traits\ConfiguratorTrait; use Traits\DeprecateTrait; use Traits\FactoryTrait; use Traits\LazyTrait; use Traits\ParentTrait; use Traits\PropertyTrait; use Traits\PublicTrait; use Traits\ShareTrait; use Traits\TagTrait; private $loader; private $resource; private $exclude; private $allowParent; public function __construct(ServicesConfigurator $parent, PhpFileLoader $loader, Definition $defaults, $namespace, $resource, $allowParent) { $definition = new Definition(); $definition->setPublic($defaults->isPublic()); $definition->setAutowired($defaults->isAutowired()); $definition->setAutoconfigured($defaults->isAutoconfigured()); $definition->setBindings($defaults->getBindings()); $definition->setChanges(array()); $this->loader = $loader; $this->resource = $resource; $this->allowParent = $allowParent; parent::__construct($parent, $definition, $namespace, $defaults->getTags()); } public function __destruct() { parent::__destruct(); if ($this->loader) { $this->loader->registerClasses($this->definition, $this->id, $this->resource, $this->exclude); } $this->loader = null; } /** * Excludes files from registration using a glob pattern. * * @param string $exclude * * @return $this */ final public function exclude($exclude) { $this->exclude = $exclude; return $this; } } __halt_compiler();----SIGNATURE:----tZo2gT2YXfnJVILRCm5bR75Tr0SD/TyIvYfPgdLurq9V2foSkO2qnbe2OMzh5tbXs7Sm5tRuiycgVv7nlgIp6xhfdq8PICf+dAjBHkKJptOaOx8UiO9QEelodGX3HxiMAoxDLE3831lE6T2nQGos4qz0zPe1/m80c5UdszU4wKQzAybohc2sfuY+wdMv/TOT/P4k9Vlu3hzn/8L4xeupm9w2D+IP5wDedDTZs/d9+jia5ewxSqsei1AMc6vilNN3xAuLT81rmC1/vIfg+ubHPmAf9q1K351ASG/b0mHf8pTa2etxbKYZdMGH79PM/FkvYLjH0xGGF7+Bzhl7gtoGoNVRuAMhItscwtin6TD0MeWM1p3/3j6bcxIEIRLNhvtdCtdMx/CwyaNwJ5hn/or495JBcL26y8BxDXzC0wBcyVEfL5ml10k1OoiBWjUmThiVHOrMUiljRnjlaG+JBElX47JPM+CrP6eDlkQ/wTUBNTL3P584isRrPCF1HZr/9Z+yX5r8s2s2vbzpoYn4W/OMfOv1b/ov+4Pr15rtROyrdlvOoLjzi69QT5LjBWnGRe/zlT0HHorBs8UhpNF+5+GjTQOrr/w1YYq0GngSYbjr3gDtVArGA3ghLpt7KlngET4rMCDgrzfUSBAbthEVfMH5XgdDpe73byDBURoM79AFUxA=----ATTACHMENT:----MTYyNDc3Njg5MjEzMzg4IDQ1Mjc5NzE4MDYzNzkwOTcgNzY5ODM2NDI3OTI2NDk2