WP_CLI
Autoloader::__destruct()
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 (null).
Usage
$Autoloader = new Autoloader(); $Autoloader->__destruct();
Autoloader::__destruct() Autoloader:: destruct code WP-CLI 2.8.0-alpha
public function __destruct() { $this->unregister(); }