src/Bigcommerce/Api/Connection.php
public function getHeader($header)
    {
        if (array_key_exists($header, $this->responseHeaders)) {
            return $this->responseHeaders[$header];
        }
        // Do case-insensitive search
        foreach ($this->responseHeaders as $k => $v) {
            if (strtolower($k) == strtolower($header)) {
                return $v;
            }
        }
    }
public function getHeader($header)
    {
        if (array_key_exists($header, $this->responseHeaders)) {
            return $this->responseHeaders[$header];
        }
        // Do case-insensitive search
        foreach ($this->responseHeaders as $k => $v) {
            if (strtolower($k) == strtolower($header)) {
                return $v;
            }
        }
    }
public function getHeader ( $ header ) { if ( array_key_exists ( $ header , $ this -> responseHeaders ) ) { return $ this -> responseHeaders [ $ header ] ; } // Do case-insensitive search foreach ( $ this -> responseHeaders as $ k => $ v ) { if ( strtolower ( $ k ) == strtolower ( $ header ) ) { return $ v ; } } }
Access given header from the response.

@param string $header Header name to retrieve

@return string|void
Access given header from the response .