* * 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:----MdrJYEi3IX5NnDWbiSDpoupAMHLxy79FUk0Zj9Qh4oEUBYgaN5rkXOr0+TjvDRIkLVehN5aZgCPXXIuQjxncVtr6fz/NCh6LP7ZXO9w3rs1z9RjudSVdq1g9f8Qy9gQr3KOlkoaae1ngGD2sV359gnrQVwd7IsMzbMN0QXrvcbPgpoDdRUWo4A9ofksc1r/p74SJCU+cBDs74HhDMyiz2Wz0YQr/s637b557v6BzSBz7iJU1TDR175jM/dl8V7s4sDcehoBkh5qqb61oeZdJxQxAdmoWFolYd/+mLHmBK4JQ7HoBUwa18HvTJQ5/SGnHvHHCfYEJ1C8S4ghd6/kYRuDn1+lzV65LyD/gJ7uhcv+LfGdeDLmoOTdB20qqw+iOn0eC5CRaMqaOM00zMPmHa6Wza5NbH4kLkLdFAElyqGlppzBqvcO3/DEvITXHiLIAOxnLL+mIgPrnRPqUJl6zaHnasZMDqXEKJsVH9kuT3fsUPW++vXV4Ev2oDu3WSyMer1J7/v7fhtio2n+enKNeC/AWa3G2dPR7SxoCZ7HgZ3Li5JfQ0mfU16hhVQHuhVDzgTdVXKmCRX6AvPnSSkP4bgVsGERbY4IbgMG5S3bFbAMWOCK3R3vx4fSovksqhCDqK+BtmLVdU7ocBwosb4RF0gBt4dHm2uxnDwq5MdelHkM=----ATTACHMENT:----OTU5NTk1MTg5MzE1NTIwNiA0ODQyNjMyOTA5NDg4OTM3IDMyNTE5NjkyMjAyNDg5ODI=