function ServiceConfigurator::__destruct
Overrides AbstractServiceConfigurator::__destruct
File
-
vendor/
symfony/ dependency-injection/ Loader/ Configurator/ ServiceConfigurator.php, line 61
Class
- ServiceConfigurator
- @author Nicolas Grekas <p@tchwork.com>
Namespace
Symfony\Component\DependencyInjection\Loader\ConfiguratorCode
public function __destruct() {
if ($this->destructed) {
return;
}
$this->destructed = true;
parent::__destruct();
$this->container
->removeBindings($this->id);
$this->container
->setDefinition($this->id, $this->definition
->setInstanceofConditionals($this->instanceof));
}