src/Client/QueryParam.php
public function setHeaderParameters($optionNames)
    {
        foreach ((array) $optionNames as $option) {
            $this->headerParameters[$option] = true;
        }

        return $this;
    }
public function setHeaderParameters($optionNames)
    {
        foreach ((array) $optionNames as $option) {
            $this->headerParameters[$option] = true;
        }

        return $this;
    }
public function setHeaderParameters ( $ optionNames ) { foreach ( ( array ) $ optionNames as $ option ) { $ this -> headerParameters [ $ option ] = true ; } return $ this ; }
Define a header parameter option.

@param $optionNames

@return $this
Define a header parameter option .