src/Request.php
public function getDecoratedHeaders(): array
    {
        $decoratedHeaders = [];
        foreach ($this->headers as $name => $value) {
            $decoratedHeaders[] = $name . ': ' . $value;
        }
        return $decoratedHeaders;
    }
public function getDecoratedHeaders(): array
    {
        $decoratedHeaders = [];
        foreach ($this->headers as $name => $value) {
            $decoratedHeaders[] = $name . ': ' . $value;
        }
        return $decoratedHeaders;
    }
public function getDecoratedHeaders ( ) : array { $ decoratedHeaders = [ ] ; foreach ( $ this -> headers as $ name => $ value ) { $ decoratedHeaders [ ] = $ name . ': ' . $ value ; } return $ decoratedHeaders ; }
Get decorated request headers.

@return array
Get decorated request headers .