public function toArray(): array
    {
        $hs = [];
        foreach ($this->headers as $k => $header) {
            $hs[$k] = $header->getValues();
        }
        return $hs;
    }
public function toArray(): array
    {
        $hs = [];
        foreach ($this->headers as $k => $header) {
            $hs[$k] = $header->getValues();
        }
        return $hs;
    }
public function toArray ( ) : array { $ hs = [ ] ; foreach ( $ this -> headers as $ k => $ header ) { $ hs [ $ k ] = $ header -> getValues ( ) ; } return $ hs ; }
Return all headers as a pure array format

@return array
Return all headers as a pure array format