Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / DestructableInterface.php
1 <?php
2
3 namespace Drupal\Core;
4
5 /**
6  * The interface for services that need explicit destruction.
7  *
8  * This is useful for services that need to perform additional tasks to
9  * finalize operations or clean up after the response is sent and before the
10  * service is terminated.
11  *
12  * Services using this interface need to be registered with the
13  * "needs_destruction" tag.
14  */
15 interface DestructableInterface {
16
17   /**
18    * Performs destruct operations.
19    */
20   public function destruct();
21
22 }