WP_CLI
Autoloader::register
Registers the autoload callback with the SPL autoload system.
Method of the class: Autoloader{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Autoloader = new Autoloader(); $Autoloader->register();
Autoloader::register() Autoloader::register code WP-CLI 2.13.0-alpha
public function register() {
spl_autoload_register( [ $this, 'autoload' ] );
}