public function toFlatArray() {
        $array = [];

        foreach ($this->headers as $key => $headers) {
            foreach ($headers as $header) {
                $array[] = $this->formatHeader($key, $header);
            }
        }

        return $array;
    }
public function toFlatArray() {
        $array = [];

        foreach ($this->headers as $key => $headers) {
            foreach ($headers as $header) {
                $array[] = $this->formatHeader($key, $header);
            }
        }

        return $array;
    }
public function toFlatArray ( ) { $ array = [ ] ; foreach ( $ this -> headers as $ key => $ headers ) { foreach ( $ headers as $ header ) { $ array [ ] = $ this -> formatHeader ( $ key , $ header ) ; } } return $ array ; }
Get a list of formatted header strings.

@return array
Get a list of formatted header strings .