You are here

public function DestructableInterface::destruct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/DestructableInterface.php \Drupal\Core\DestructableInterface::destruct()
  2. 9 core/lib/Drupal/Core/DestructableInterface.php \Drupal\Core\DestructableInterface::destruct()

Performs destruct operations.

4 methods override DestructableInterface::destruct()
CacheCollector::destruct in core/lib/Drupal/Core/Cache/CacheCollector.php
Performs destruct operations.
LocaleTranslation::destruct in core/modules/locale/src/LocaleTranslation.php
Performs destruct operations.
RouteBuilder::destruct in core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php
Performs destruct operations.
TestClass::destruct in core/modules/system/tests/modules/service_provider_test/src/TestClass.php
Performs destruct operations.

File

core/lib/Drupal/Core/DestructableInterface.php, line 20

Class

DestructableInterface
The interface for services that need explicit destruction.

Namespace

Drupal\Core

Code

public function destruct();