PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 1.3.0
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v1.3.0
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / src / Performance / Shutdown / Contracts / Terminable.php

Terminable.php in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution 1.3.0, at src/Performance/Shutdown/Contracts/Terminable.php

24 lines 376 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Implement this interface for a Terminable task, which will
4 * execute on the shutdown action.
5 *
6 * @package SolidWP\Performance
7 */
8
9 declare( strict_types=1 );
10
11 namespace SolidWP\Performance\Shutdown\Contracts;
12
13 interface Terminable {
14
15 /**
16 * Perform a task on shutdown.
17 *
18 * @action shutdown
19 *
20 * @return void
21 */
22 public function terminate(): void;
23 }
24