src/HeaderCollection.php
function values($name)
    {
        $normalizer = new HeaderCaseNormalizer();
        $name = $normalizer->normalize($name);
        $values = array();

        foreach ($this->_headers as $header) {
            if ($header->getName() == $name) {
                $values[] = $header->getValue();
            }
        }

        return $values;
    }
function values($name)
    {
        $normalizer = new HeaderCaseNormalizer();
        $name = $normalizer->normalize($name);
        $values = array();

        foreach ($this->_headers as $header) {
            if ($header->getName() == $name) {
                $values[] = $header->getValue();
            }
        }

        return $values;
    }
function values ( $ name ) { $ normalizer = new HeaderCaseNormalizer ( ) ; $ name = $ normalizer -> normalize ( $ name ) ; $ values = array ( ) ; foreach ( $ this -> _headers as $ header ) { if ( $ header -> getName ( ) == $ name ) { $ values [ ] = $ header -> getValue ( ) ; } } return $ values ; }
Gets an array of the values for a header
@return array
Gets an array of the values for a header