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