Get the parameters for the given key
An empty array will be returned for non-matched keys.

@param string $key

@return array
5233
public function paramsFor(string $key): array
    {
        $params = [];
        if (isset($this->params[$key])) {
            $params = $this->params[$key];
        }

        return $params;
    }
1360835
public function args($key = array())
    {
        if (is_array($key)) {
            $args = array();
            if (!empty($key)) {
                foreach ($key as $k) $args[$k] = $this->args($k);
            } else {
                $args = $this->arguments;
            }
            return $args;
        } elseif (is_string($key) && !empty($key)) {
            return $this->$key;
        } else {
            return null;
        }
    }
3437
protected function getParams($key = null)
    {
        $params = $this->session->get(uri());
        return !is_null($key) ? array_get($params, $key) : $params;
    }
1068031
public function allParamsFor(array $keys): array
    {
        $params = [];
        foreach ($keys as $key) {
            if (isset($this->params[$key])) {
                $params[$key] = $this->params[$key];
            }
        }

        return $params;
    }
966307
final protected function getArrayValue(string $key): array
    {
        $value = $this->getConfigValue($key);
        if (!$value || !\is_array($value)) {
            return [];
        }

        return $value;
    }
614986
public function _getParams( $key = - 1 ) {
		if ( $key >= 0 ) {

			if ( isset( self::$params[ $key ] ) ) {
				return self::$params[ $key ];
			} else {
				return NULL;
			}

		} else {
			return self::$params;
		}

	}
1188336
protected function parseData(string $key) : array
    {
        if (file_exists($this->getPath($key))) {
            $rawData = json_decode(file_get_contents($this->getPath($key)), true);
            $parsedData = ['d' => unserialize($rawData['d']), 't' => $rawData['t']];
        } else {
            $parsedData = ['d' => null, 't' => 0];
        }

        if (time() > $parsedData['t']) {
            $this->delete($key);

            return ['d' => null, 't' => 0];
        }

        return $parsedData;
    }
132611
public function values(?string $key = null) : array
    {
        $value = $this->get($key);

        if (!is_array($value)) {
            throw new InvalidArgumentException(
                'method values() should be called on array'
            );
        }

        return array_values($value);
    }
142858
public function getParam($key = null)
    {
        if(is_null($key))
            return $this->getService('param');
        return (Arr::has($this->serviceData,'param.'.$key)) ? $this->getService('param.' . $key) : null;
    }
299158
public function getParams(array $keys = null)
    {
        $params = $this->params;

        if ($keys) {
            $subset = [];
            foreach ($keys as $key) {
                if (array_key_exists($key, $params)) {
                    $subset[$key] = $params[$key];
                }
            }
            return $subset;
        }

        return $params;
    }
1298750
public function getParameter($key)
    {
        if (true === isset(self::$parameters[$key])) {
            $value = self::$parameters[$key];
        } else {
            throw new Doozr_Registry_Exception(
                sprintf('Key "%s" does not exist!', $key)
            );
        }

        return $value;
    }
104795
private function getParam($key)
    {
        if (!$this->getParams) {
            $this->getParams = filter_input(INPUT_GET, self::UKEY1_GET_PARAM, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
        }
        
        if (isset($this->getParams[$key]) && $this->getParams[$key] && (is_string($this->getParams[$key]) || is_numeric($this->getParams[$key]))) {
            return $this->getParams[$key];
        } else {
            return "";
        }
    }
777770
private function fetchInfo($key)
    {
        return array_key_exists($key, $this->info)
            ? $this->info[$key]
            : null;
    }
308031
public function getParams( $key = - 1 ) {
		if ( $key >= 0 ) {

			if ( isset( self::$RealParams[ $key ] ) ) {
				return self::$RealParams[ $key ];
			} else {
				return NULL;
			}

		} else {
			return self::$RealParams;
		}

	}
1345298
protected function getParameter($key)
    {
        if (isset($this->parameters[$key])) {
            return $this->parameters[$key];
        }
        return false;
    }
149279
public function getParamValue($key)
    {
        $value = null;
        if (is_array($param = $this->getParam($key))) {
            $value = $param['value'];
        }

        return $value;
    }
727867
public function getParameter($key) {
        if(isset($this->get[$key])) {
            return $this->get[$key];
        }

        return NULL;
    }