public function getHeaders($name = null)
    {
        if (is_null($name)) {
            return $this->headers;
        } else {
            return $this->getHeader($name);
        }
    }
public function getHeaders($name = null)
    {
        if (is_null($name)) {
            return $this->headers;
        } else {
            return $this->getHeader($name);
        }
    }
public function getHeaders ( $ name = null ) { if ( is_null ( $ name ) ) { return $ this -> headers ; } else { return $ this -> getHeader ( $ name ) ; } }
Gets the values of the Part header with the given name.

@param string $name the header name whose values to return

@return array
Gets the values of the Part header with the given name .