protected function determineHeaders()
    {
        $params = $this->getServerParams();
        $headers = [];
        
        foreach ($params as $key => $value) {
            $name = $this->serverParamKeyToHeaderName($key);
            
            if (isset($name) && is_string($value)) {
                $headers[$name] = [$value];
            }
        }
        
        return $headers;
    }
protected function determineHeaders()
    {
        $params = $this->getServerParams();
        $headers = [];
        
        foreach ($params as $key => $value) {
            $name = $this->serverParamKeyToHeaderName($key);
            
            if (isset($name) && is_string($value)) {
                $headers[$name] = [$value];
            }
        }
        
        return $headers;
    }
protected function determineHeaders ( ) { $ params = $ this -> getServerParams ( ) ; $ headers = [ ] ; foreach ( $ params as $ key => $ value ) { $ name = $ this -> serverParamKeyToHeaderName ( $ key ) ; if ( isset ( $ name ) && is_string ( $ value ) ) { $ headers [ $ name ] = [ $ value ] ; } } return $ headers ; }
Determine the headers based on the server parameters

@return array headers array with structure $key => [$value]
Determine the headers based on the server parameters