src/Room11/HTTP/HeadersSet.php
public function getHeaders($name)
    {
        $ucName = strtoupper($name);
        
        if (isset($this->ucNames[$ucName])) {
            $name = $this->ucNames[$ucName];
            return $this->headers[$name];
        }

        throw new HTTPException(
            sprintf('Header field is not assigned: %s', $name)
        );
    }
public function getHeaders($name)
    {
        $ucName = strtoupper($name);
        
        if (isset($this->ucNames[$ucName])) {
            $name = $this->ucNames[$ucName];
            return $this->headers[$name];
        }

        throw new HTTPException(
            sprintf('Header field is not assigned: %s', $name)
        );
    }
public function getHeaders ( $ name ) { $ ucName = strtoupper ( $ name ) ; if ( isset ( $ this -> ucNames [ $ ucName ] ) ) { $ name = $ this -> ucNames [ $ ucName ] ; return $ this -> headers [ $ name ] ; } throw new HTTPException ( sprintf ( 'Header field is not assigned: %s' , $ name ) ) ; }
Retrieve assigned header values for the specified field name

@param string $name
@throws \Room11\HTTP\HTTPException
@return array
Retrieve assigned header values for the specified field name