function TestClass::destruct

Performs destruct operations.

Overrides DestructableInterface::destruct

File

core/modules/system/tests/modules/service_provider_test/src/TestClass.php, line 69

Class

TestClass

Namespace

Drupal\service_provider_test

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.