Returns an integer (int) value.
@param string $key
@param int $default The default default is -9999
@return int
771996
final protected function getIntegerValue(string $key, int $default = -9999): int
    {
        $value = $this->getConfigValue($key);
        if (!$value) {
            return $default;
        }

        return intval($value);
    }
58313
public function get(string $key, $default = null)
    {
        if ($this->exists($key)) {
            return $this->parameters[$key];
        }

        return $default;
    }
412274
public int getInt(Enum<?> key, int defaultValue)
    {
        if (key == null)
        {
            return defaultValue;
        }

        return getInt(key.name(), defaultValue);
    }
724222
public function value($key, $default = null)
    {
        return array_key_exists($key, $this->values)
            ? $this->values[$key]
            : $default;
    }
762547
public int getIntCount(Object key) {
    MutableInteger count =  map.get(key);
    if (count == null) {
      return defaultValue; // haven't seen this object before -> 0 count
    }
    return count.intValue();
  }
712634
public function get($key, $default = NULL) {

		return array_key_exists($key, $this->values) ? $this->values[$key] : $default;

	}
1250709
public function getOne($key, $default = null)
    {
        $ret = $default;
        $all = $this->get($key);
        if (count($all) > 0) {
            $ret = array_shift($all);
        }

        return $ret;
    }
924546
public function offsetGet($key, $default = null)
    {
        return isset($this->values[$key]) ? $this->values[$key] : $default;
    }
1148383
public Integer getInteger(String key, int aDefault)
   {

      return getInteger(key, Integer.valueOf(aDefault));

   }
976824
public static function getNumeric($key, $default = null)
    {
        $value = ini_get($key);

        return $value === false || $value === '' ? $default : $value + 0;
    }
475736
public function get($key, $default = null)
    {
        if ($this->has($key)) {
            return $this->values[$key][static::VALUE];
        }

        return $default;
    }
942844
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $_GET;
        }
        return (isset($_GET[$key])) ? $_GET[$key] : $default;
    }
1032407
public function get( $key = null, $default = null ) {
		return func_num_args() === 0 ? $_GET : $this->app->utility->array_get( $_GET, $key, $default );
	}
314677
public function getInt($key)
    {
        if (isset($this->store[$key])) {
            return (int) filter_var($this->store[$key], FILTER_SANITIZE_NUMBER_INT);
        }

        return (int) filter_input(INPUT_COOKIE, $key, FILTER_SANITIZE_NUMBER_INT);
    }
1266436
static Integer getInteger(Properties properties, String key, Integer defaultValue) {
		if (properties == null)
			return defaultValue;
		String value = properties.getProperty(key);
		if (value == null || value.isEmpty())
			return defaultValue;
		int intVal;
		try {
			intVal = Integer.parseInt(value);
		} catch (NumberFormatException e) {
			logger.warn("Cannot read property '" + key + "'. Expected integer, but got '" + value + "'. Setting default value = '" + defaultValue + "'", e.getMessage());
			return defaultValue;
		}
		logger.trace("Read property '" + key + "' value '" + intVal + "'");
		return intVal;
	}
1368152
public function id($key = null, $default = null)
    {
        $element = $this->getHandler()->getKeyMapElement($key, $default);
        return is_array($element) && array_key_exists('id', $element) ? (int) $element['id'] : $default;
    }
995028
public function get($key, $default = null) {
		$this->check();
		$value = $this->readValue($key);
		return is_null($value) ? $default : $value;
	}