WP_CLI

Autoloader::__destructpublicWP-CLI 1.0

Destructor for the Autoloader class.

The destructor automatically unregisters the autoload callback function with the SPL autoload system.

Method of the class: Autoloader{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Autoloader = new Autoloader();
$Autoloader->__destruct();

Autoloader::__destruct() code WP-CLI 2.13.0-alpha

public function __destruct() {
	$this->unregister();
}