@author Vova Feldman (@svovaf)
@since  1.0.7

@param string $key
@param mixed  $default

@return bool|\FS_Plugin
559520
function get( $key, $default = false ) {
			return array_key_exists( $key, $this->_data ) ?
				$this->_data[ $key ] :
				$default;
		}
710100
public function get($key, $default = null) {
        $key = $this->getAbsoluteConfigKey($key);

        return $this->getConfigParser()
            ->parse($this, array_get($this->config, $key, $default));
    }
1317448
public static function post($key=null,$default=null){
    return $key ? (filter_input(INPUT_POST,$key) ?: (is_callable($default)?call_user_func($default):$default)) : $_POST;
  }
189023
public function get( $key, $default = null ) {
		return Arr::get( $this->flash->get( $this->flash_key, [] ), $key, $default );
	}
1101921
public function get(string $key, $default = null)
	{
		[$file, $path] = $this->parseKey($key);

		if(!isset($this->configuration[$file]))
		{
			$this->load($file);
		}

		return $path === null ? $this->configuration[$file] : Arr::get($this->configuration[$file], $path, $default);
	}
1240069
public function config($key = null, $default = null)
    {
        if ($key === null) {
            return $this->config;
        }

        return Arr::get($this->config, $key, $default);
    }
703484
public function post(string $key, $default = null) 
  {
    return $this->post->has($key) ? $this->post->get($key) : $default;
  }
678434
public function get($key, $default = null)
    {
        if (!isset($this->_configs[$key])) {
            $cfg = get_cfg_var($key);
            if ($cfg !== false) {
                return $cfg;
            }

            return $default;
        }

        return $this->_configs[$key];
    }
1165466
public function get($key, $default = null)
	{
		return is_array($this->response) ? \Arr::get($this->response, $key, $default) : $default;
	}
1229896
public function get($key, $default = null)
	{
		$this->validateKey($key);
		$this->namespace && $this->prefixValue($key);

		[$found, $value] = $this->doGet($key) ?? [false, null];

		return $found === true ? $value : $default;
	}
140882
public function get($key, $default = null)
    {
        $keys = explode('.', $key);
        $value = $default;
        foreach ( $keys as $i => $_key ) {
            if ( ! $i && isset($this->_params[$_key]) ) {
                $value = $this->_params[$_key];
            } elseif ( is_array($value) && isset($value[$_key]) ) {
                $value = $value[$_key];
            } else {
                $value = $default;
                break;
            }
        }
        return $value;
    }
386510
public function get($key, $default = false)
    {
        if ($this->has($key) !== false) {
            return $this->cache[$key];
        } else {
            return $default;
        }
    }
841737
public function get($key, $default = NULL) {
		$keyArr = explode('.', $key);
		$fileName = $keyArr[0];
		
		if (!isset($this->map[$fileName])) {
			$this->loadConfig($fileName);
		}
		
		$rs = NULL;
		$preRs = $this->map;
		foreach ($keyArr as $subKey) {
			if (!isset($preRs[$subKey])) {
				$rs = NULL;
				break;
			}
			$rs = $preRs[$subKey];
			$preRs = $rs;
		}
		
		return $rs !== NULL ? $rs : $default;
	}
329215
public function get($key, $default = NULL) {
    $value = parent::get($key);

    if (isset($value)) {
      return $value;
    }

    return $default;
  }
372878
public static function get($key, $default = NULL) {
        if (isset(self::$configs[$key]))
            return self::$configs[$key];

        return $default;

    }
1147435
public function get($key, $default = null)
    {
        if ($this->has($key)) {
            return $this->cache->get($key);
        }

        return $default;
    }
27219
public static function server($key=null,$default=null){
    return $key ? (isset($_SERVER[$key]) ? $_SERVER[$key] : (is_callable($default)?call_user_func($default):$default)) : $_SERVER;
  }