comparison core/lib/Drupal/Core/DestructableInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }