public function enable()
    {
        spl_autoload_register([$this, 'autoload'], true, true);
        spl_autoload_register([$this, 'autoloadOptional'], true, false);
        return $this;
    }
public function enable()
    {
        spl_autoload_register([$this, 'autoload'], true, true);
        spl_autoload_register([$this, 'autoloadOptional'], true, false);
        return $this;
    }
public function enable ( ) { spl_autoload_register ( [ $ this , 'autoload' ] , true , true ) ; spl_autoload_register ( [ $ this , 'autoloadOptional' ] , true , false ) ; return $ this ; }
Enable class mocker by registering the auto loader

@return $this
Enable class mocker by registering the auto loader