Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/DestructableInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Core; /** * The interface for services that need explicit destruction. * * This is useful for services that need to perform additional tasks to * finalize operations or clean up after the response is sent and before the * service is terminated. * * Services using this interface need to be registered with the * "needs_destruction" tag. */ interface DestructableInterface { /** * Performs destruct operations. */ public function destruct(); }