File "Terminable.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/kadence-starter-templates/inc/resources/Shutdown/Contracts/Terminable.php
File size: 501 bytes
MIME-type: text/x-php
Charset: utf-8
<?php declare( strict_types=1 );
namespace KadenceWP\KadenceStarterTemplates\Shutdown\Contracts;
use KadenceWP\KadenceStarterTemplates\Shutdown\Shutdown_Provider;
/**
* Any class that utilizes the Shutdown Handler to perform
* a task should implement this contract and be added to
* the collection.
*
* @see Shutdown_Provider::register()
*/
interface Terminable {
/**
* Perform a task on shutdown.
*
* @action shutdown
*
* @return void
*/
public function terminate(): void;
}