private function setBasicApiClient()
    {
        $this->client = new Client();

        // if using a self issued access token,
        // just authenticate the user right now
        if (!is_null($this->accessToken)) {
            $this->client->authenticate($this->accessToken);
        }
    }
private function setBasicApiClient()
    {
        $this->client = new Client();

        // if using a self issued access token,
        // just authenticate the user right now
        if (!is_null($this->accessToken)) {
            $this->client->authenticate($this->accessToken);
        }
    }
private function setBasicApiClient ( ) { $ this -> client = new Client ( ) ; // if using a self issued access token, // just authenticate the user right now if ( ! is_null ( $ this -> accessToken ) ) { $ this -> client -> authenticate ( $ this -> accessToken ) ; } }
Minimal setup for medium's api client.
Just get it ready to request for access tokens.

@return void
Minimal setup for medium s api client . Just get it ready to request for access tokens .