src/Foxy/FoxyClient/FoxyClient.php
public function getHeaders()
    {
        $headers = array(
            'FOXY-API-VERSION' => 1
        );
        if ($this->access_token && $this->include_auth_header) {
            $headers['Authorization'] = "Bearer " . $this->access_token;
        }
        $headers['Accept'] = $this->getAcceptContentType();

        return $headers;
    }
public function getHeaders()
    {
        $headers = array(
            'FOXY-API-VERSION' => 1
        );
        if ($this->access_token && $this->include_auth_header) {
            $headers['Authorization'] = "Bearer " . $this->access_token;
        }
        $headers['Accept'] = $this->getAcceptContentType();

        return $headers;
    }
public function getHeaders ( ) { $ headers = array ( 'FOXY-API-VERSION' => 1 ) ; if ( $ this -> access_token && $ this -> include_auth_header ) { $ headers [ 'Authorization' ] = "Bearer " . $ this -> access_token ; } $ headers [ 'Accept' ] = $ this -> getAcceptContentType ( ) ; return $ headers ; }
Get headers for this call
Get headers for this call