protected function getAdapter() {
        // Backwards compatability as I won't bump the version number for this
        // yet. When I add PHP 7 support I'll bump it and remove this.
        if (!$this->adapter) {
            $this->adapter = new Curl();
            $this->adapter->setLogger(new NullLogger());
        }
        return $this->adapter;
    }
protected function getAdapter() {
        // Backwards compatability as I won't bump the version number for this
        // yet. When I add PHP 7 support I'll bump it and remove this.
        if (!$this->adapter) {
            $this->adapter = new Curl();
            $this->adapter->setLogger(new NullLogger());
        }
        return $this->adapter;
    }
protected function getAdapter ( ) { // Backwards compatability as I won't bump the version number for this // yet. When I add PHP 7 support I'll bump it and remove this. if ( ! $ this -> adapter ) { $ this -> adapter = new Curl ( ) ; $ this -> adapter -> setLogger ( new NullLogger ( ) ) ; } return $ this -> adapter ; }
Return the adapter being used to connect to the remote server

@return Adapter
Return the adapter being used to connect to the remote server