Client/HttpClient.php
protected function buildOpts($method)
    {
        $opts = array(
            'http' =>
                array(
                    'method'        => $method,
                    'header'        => sprintf("Content-type: %s\n", $this->contentType) .
                        'Authorization: Bearer ' . $this->accessToken,
                    'ignore_errors' => true,
                )
        );
        return $opts;
    }
protected function buildOpts($method)
    {
        $opts = array(
            'http' =>
                array(
                    'method'        => $method,
                    'header'        => sprintf("Content-type: %s\n", $this->contentType) .
                        'Authorization: Bearer ' . $this->accessToken,
                    'ignore_errors' => true,
                )
        );
        return $opts;
    }
@param string $method

@return array