Disable options
@param integer $option
543750
public static function disable($option) {

		if(false === is_int($option)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type integer, "%s" given', __METHOD__, gettype($option)), E_USER_ERROR);
		}
		
		if(true === isset(static :: $options[$option])) {
			unset(static :: $options[$option]);
		}
	}
210094
public function removeOption( $key )
	{
		if( !$this->hasOption( $key ) )
			return FALSE;
		unset( $this->options[$key] );
		return TRUE;
	}
1155546
public function setOption($option = [])
    {
        if (!isset($option['sandbox'])) {
            $option['sandbox'] = false;
        }
        $this->provider->setOption($option);
    }
237289
public function setOption(int $option, bool $enable = true): OptionsInterface
    {
        if ($enable && ! $this->hasOption($option)) {
            $this->withOptions($option);
        }

        if (! $enable && $this->hasOption($option)) {
            $this->withoutOptions($option);
        }

        return $this;
    }
161959
public function setFetchFlagsOption($option) {
        if (is_bool($option)) {
            $this->fetch_flags = $option;
        } elseif (is_null($option)) {
            $config = config('imap.options.fetch_flags', true);
            $this->fetch_flags = is_bool($config) ? $config : true;
        }

        return $this;
    }
416680
public function setOption($option, $value) {
    // The only option we allow to be changed is OPT_PREFIX_KEY
    if ($option == self::OPT_PREFIX_KEY) {
      $this->options[$option] = $value;
      return true;
    }
    return false;
  }
722229
public function setOptions($options) {
		$this->renderer->getElement()->setOptions($options);
		$this->renderer->getHtmlElement()->setOptions($options);
	}
534645
public function setOptions($options)
    {
        if (array_key_exists('allow', $options)) {
            $this->setAllow($options['allow']);
        }

        if (array_key_exists('idn', $options)) {
            $this->setValidateIdn($options['idn']);
        }

        if (array_key_exists('tld', $options)) {
            $this->setValidateTld($options['tld']);
        }

        if (array_key_exists('ip', $options)) {
            $this->setIpValidator($options['ip']);
        }

        return $this;
    }
810636
protected function setOption(int $option): self
    {
        $this->setOptions($this->getOptions() | $option);

        return $this;
    }
720989
public function setOption($option, $value = null)
    {
        if (is_array($option)) { // If it's an array, loop through each option and call this method recursively.
            foreach ($option as $opt => $val) {
                $this->setOption($opt, $val);
            }
            return;
        }

        if (array_key_exists($option, $this->defaults)) { // If it is a default value.
            throw new ProtectedOptionException(sprintf('Unable to set protected option #%u', $option));
        }

        if (curl_setopt($this->handle, $option, $value) === false) {
            throw new CurlErrorException(sprintf('Couldn\'t set option #%u', $option));
        }
    }
501015
public function removeOption(OptionInterface $option)
    {
        if ($this->hasOption($option)) {
            $this->options->removeElement($option);
        }

        return $this;
    }
826548
public function setOptions($options){
		$options = array_intersect_key($options,$this->defaultOptions);
		$this->options = array_merge($this->defaultOptions, $this->options, $options);
	}
280136
function disable(string $name) {
        $pos = array_search($name, $this->_enableList);
        if ($pos === false)
            return;
        unset($this->_enableList[$pos]);
    }
303981
protected function _cleanOptions($options) {
		if (!isset($options['size']) || empty($options['size']) || !is_numeric($options['size'])) {
			unset($options['size']);
		} else {
			$options['size'] = min(max($options['size'], 1), 512);
		}

		if (!$options['rating'] || !in_array(mb_strtolower($options['rating']), $this->_allowedRatings)) {
			unset($options['rating']);
		}

		if (!$options['default']) {
			unset($options['default']);
		} else {
			if (!in_array($options['default'], $this->_defaultIcons) && !Validation::url($options['default'])) {
				unset($options['default']);
			}
		}
		return $options;
	}
881319
public function setOption(int $option, mixed $value)
    {
        curl_setopt($this->curl, $option, $value);
    }
1265705
def disable_option(self):
        """"""
        disable = _CXString()
        conf.lib.clang_getDiagnosticOption(self, byref(disable))

        return str(conf.lib.clang_getCString(disable))
1048734
public function setOption(int $option, $value) : void
    {
        curl_setopt($this->curl, $option, $value);
    }