@param string $path
@param mixed $default

@return mixed
174712
public function getParameter(string $path, $default = null)
    {
        if ($this->parameterBag->has($path)) {
            return $this->parameterBag->get($path) ?? $default;
        }

        $paths = explode('.', $path);

        if ($this->parameterBag->has($paths[0])) {
            $value = $this->parameterBag->get($paths[0]);

            if (is_array($value)) {
                return (new Dot($value))->get($path, $default);
            }
        }

        return $default;
    }
436284
public function get($key, $default = null)
    {
        if (array_key_exists($key, $this->params)) {
            return $this->params[$key];
        }

        return $default;
    }
1349250
public function getParam($key, $default = null)
        {
            $key = (string) $key;
            if (isset($this->_params[$key])) {
                return $this->_params[$key];
            }

            return $default;
        }
248291
public function getConfig($path, $default_value = null)
    {
        $pos = &$this->_lookupConfigElement($path, false);

        // path element don't exist - return default value
        if ($pos === false) {
            return $default_value;
        }

        return $pos;
    }
40132
public function get($key, $default = NULL)
    {
        if (array_key_exists($key, $this->attributes)) {
            return $this->attributes[$key];
        }

        return $default;
    }
215188
public function getData($path, $default = null)
    {
        return $this->helper->arr()->get($this->storage, $path, $default);
    }
1098822
public function get(string $path, $default = null)
    {
        return Arr::getByPath($this->data, $path, $default, $this->separator);
    }
278738
public function getField($path, $default = null) {
        if (is_string($path)) {
            if (strpos($path, '.') !== false && strpos($path, '/') === false) {
                trigger_error('Field selectors must be separated by "/" instead of "."', E_USER_DEPRECATED);
                $path = explode('.', $path);
            } else {
                $path = explode('/', $path);
            }
        }

        $value = $this->schema;
        foreach ($path as $i => $subKey) {
            if (is_array($value) && isset($value[$subKey])) {
                $value = $value[$subKey];
            } elseif ($value instanceof Schema) {
                return $value->getField(array_slice($path, $i), $default);
            } else {
                return $default;
            }
        }
        return $value;
    }
1092114
public function get( $name, $default = null )
	{
		$value = $this->_getObject()->get( $name, $default );

		$this->_file->set( $name, $value, $default );

		return $value;
	}
787307
public function query($path = null, $default = null, $strip = true)
    {
        return $this->arrGetXss($this->queryData(), $path, $default, $strip);
    }
755570
protected function arrGet(array $storage, $path, $default)
    {
        if ($path === null)
        {
            return $storage;
        }

        return $this->helper->arr()->get($storage, $path, $default);
    }
701121
public function get($key, $default = null) {
		$this->loadIfNeeded();

		return isset($this->array[$key]) ? $this->array[$key] : $default;
	}
732707
public function get($path, $default=null) {
		if(!$this->has($path))
			return $default;
		return ArrayUtils::get($_SESSION, $path);
	}
53386
public function getByPath(string $key, $default = null)
    {
        // eg. 'users.*.id'
        if (\strpos($key, '.*') > 0) {
            return $this->getByWildcard($key);
        }

        return Helper::getValueOfArray($this->data, $key, $default);
    }
838678
public function get(string $field, $default = null)
    {
        if (!$this->has($field)) {
            return $default;
        }

        return $this->storage[$field];
    }
507152
static function pathGet($values, $path, $default = NULL) {
        foreach ($path as $key) {
            if (!is_array($values) || !isset($values[$key])) {
                return $default;
            }
            $values = $values[$key];
        }
        return $values;
    }
1169378
public function default($key, $default = null)
	{
		if($this->has($key))
			return $this->get($key);

		$this->put($key, $default);

		return $default;
	}