public function register()
    {
        if (! $this->isRegistered) {
            spl_autoload_register([$this, 'load'], true, true);
            $this->isRegistered = true;
        }

        return $this;
    }
public function register()
    {
        if (! $this->isRegistered) {
            spl_autoload_register([$this, 'load'], true, true);
            $this->isRegistered = true;
        }

        return $this;
    }
public function register ( ) { if ( ! $ this -> isRegistered ) { spl_autoload_register ( [ $ this , 'load' ] , true , true ) ; $ this -> isRegistered = true ; } return $ this ; }
Register the autoloader with spl_autoload.

@return self
Register the autoloader with spl_autoload .