Getter for boolean values.

@param  string $key Option key.

@return boolean|null
335898
protected function _get_boolean_value( $key ) {
		if ( ! isset( $this->types[ $key ] ) || 'boolean' !== $this->types[ $key ] ) {
			return null;
		}

		$default = array_key_exists( $key, $this->defaults ) ? $this->defaults[ $key ] : true;

		// Values are stored as yes/no strings.
		return filter_var( $this->store->get( $key, $default ), FILTER_VALIDATE_BOOLEAN );
	}
1316675
public function getValue($key) {
		if(isset($this->jsonArray[$key])) {
			return $this->jsonArray[$key];
		}

		return NULL;
	}
927875
Optional<Boolean> getBoolean(String key) {
        Object value = get(key);

        if (value == null) {
            return Optional.empty();
        }

        if (value instanceof Boolean) {
            return Optional.of((Boolean) value);
        }
        else if (value instanceof String) {
            return Optional.of(Boolean.parseBoolean((String)value));
        }
        else {
            throw new InvalidOntopConfigurationException("A boolean was expected: " + value);
        }
    }
1349634
public function optionExpectsValue($key) {
    $spec_data = $this->getOptionDataByOptionKey();
    if (!isset($spec_data[$key])) { return false; }
    return strlen($spec_data[$key]['value_name']) ? true : false;
  }
874427
public function getOption($key, ...$keys)
    {
        $method = 'get' . Str::toCamelCase($key);
        if (method_exists($this, $method)) {
            return $this->$method($key, ...$keys);
        }
        return Collection::get($this->options, $key, ...$keys);
    }
832099
@CheckResult @NonNull
  public Preference<Boolean> getBoolean(@NonNull String key) {
    return getBoolean(key, DEFAULT_BOOLEAN);
  }
168433
public function get($key){

		if(!is_null($this->args))
			if(in_array($key, array_keys($this->args)))
				return $this->args[$key];

		return null;
	}
1068964
public function get($key)
    {
        if (array_key_exists($key, $this->settings)) {
            return $this->settings[$key];
        }

        return false;
    }
1253725
public function get($key)
    {
        if (!$this->isEnabled()) {
            return null;
        }

        $value = apc_fetch($this->prefix() . $key);

        return false === $value ? null : unserialize($value);
    }
1332200
public function get( $key, $default = null ) {
		$value = get_option( $this->option_key( $key ) );

		if ( false === $value ) {
			return $default;
		}

		return $value;
	}
335228
public function getOption($key, $default = false)
    {
        if (!isset($this->args[$key])) {
            return $default;
        }
        $value = $this->args[$key];
        if (is_bool($value)) {
            return $value;
        }
        if (is_int($value)) {
            return (bool) $value;
        }
        if (is_string($value)) {
            $value = strtolower($value);
            if (static::booleanValue($value)) {
                return static::booleanValue($value);
            }
        }
        return $default;
    }
705752
protected function option( $key, $default = false ) {
		return ( isset( $this->options[ $key ] ) ) ? $this->options[ $key ] : $default;
	}
105136
function &get($key) {
		if (isset($this->args[$key]))
			$val=&$this->args[$key];
		else
			$val=NULL;
		return $val;
	}
65963
public function getOption($key)
    {
        $options = $this->getOptions();

        if (!array_key_exists($key, $options)) {
            throw new \InvalidArgumentException("An invalid option was searched for in the '".$options['column_name']."' column");
        }

        return $options[$key];
    }
324833
public function get($key)
    {
        if (!$this->isEnabled()) {
            return null;
        }

        $value = $this->server->get($this->prefix . $key);

        return false === $value ? null : $value;
    }
810038
public static function getBoolean($key) {
		$ret = false;
		if (isset ( $_REQUEST [$key] )) {
			$ret = UString::isBooleanTrue ( $_REQUEST [$key] );
		}
		return $ret;
	}
1129307
public function get($key)
    {
        $setting = SettingModel::where('key', $key)->first();

        return $setting ? $setting->value : false;
    }