src/Pixabay/PixabayClient.php
private function parseOptions(array $options, $resetOptions = false) 
    {
        foreach ($this->optionsList as $option) {
            if (isset($options[$option])) {
                $this->options[$option] = $options[$option];
            } elseif ($resetOptions && isset($this->options[$option])) {
                unset($this->options[$option]);
            }
        }
    }
private function parseOptions(array $options, $resetOptions = false) 
    {
        foreach ($this->optionsList as $option) {
            if (isset($options[$option])) {
                $this->options[$option] = $options[$option];
            } elseif ($resetOptions && isset($this->options[$option])) {
                unset($this->options[$option]);
            }
        }
    }
Parse Provided options

@param array $options
@param bool $resetOptions