WP_CLI

Autoloader::__destruct()publicWP-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.

Return

null. Nothing.

Usage

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

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

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