function Destructable::destruct
Same name in other branches
- 10 core/modules/system/tests/modules/destructable_test/src/Destructable.php \Drupal\destructable_test\Destructable::destruct()
Overrides DestructableInterface::destruct
File
-
core/
modules/ system/ tests/ modules/ destructable_test/ src/ Destructable.php, line 31
Class
Namespace
Drupal\destructable_testCode
public function destruct() {
sleep(3);
file_put_contents($this->semaphore, 'ran');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.