public function emitHeaders(ResponseInterface $response)
    {
        foreach ($response->getHeaders() as $name => $values) {
            foreach (array_values((array)$values) as $i => $value) {
                $this->header("$name: $value", $i === 0);
            }
        }
    }
public function emitHeaders(ResponseInterface $response)
    {
        foreach ($response->getHeaders() as $name => $values) {
            foreach (array_values((array)$values) as $i => $value) {
                $this->header("$name: $value", $i === 0);
            }
        }
    }
public function emitHeaders ( ResponseInterface $ response ) { foreach ( $ response -> getHeaders ( ) as $ name => $ values ) { foreach ( array_values ( ( array ) $ values ) as $ i => $ value ) { $ this -> header ( "$name: $value" , $ i === 0 ) ; } } }
Emit the HTTP headers

@param ResponseInterface $response
Emit the HTTP headers