src/AliasLoader.php
public function register(): void
    {
        if (!$this->registered) {
            \spl_autoload_register([$this, 'load'], true, true);
            $this->registered = true;
        }
    }
public function register(): void
    {
        if (!$this->registered) {
            \spl_autoload_register([$this, 'load'], true, true);
            $this->registered = true;
        }
    }
public function register ( ) : void { if ( ! $ this -> registered ) { \ spl_autoload_register ( [ $ this , 'load' ] , true , true ) ; $ this -> registered = true ; } }
Prepend the loader to the auto-loader stack.

@return void
Prepend the loader to the auto - loader stack .