Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServiceConfigurator.php

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\Configurator

Code

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));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal