You are here

public function TestClass::destruct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::destruct()

Performs destruct operations.

Overrides DestructableInterface::destruct

File

core/modules/system/tests/modules/service_provider_test/src/TestClass.php, line 74
Contains \Drupal\service_provider_test\TestClass.

Class

TestClass

Namespace

Drupal\service_provider_test

Code

public function destruct() {
  $this->state
    ->set('service_provider_test.destructed', TRUE);
}