Get argument by offset or return default.

@param   int            $offset  Argument offset.
@param   callable|mixed $default Default value, if is a callable, will execute it.

@return  null|string  Values from argument or user input.
772373
public function getArgument($offset, $default = null)
    {
        $value = $this->io->getArgument($offset);

        if (!is_null($value)) {
            return $value;
        }

        if (is_callable($default)) {
            return call_user_func($default);
        }

        return $default;
    }
1028894
public function offsetGet($offset) {

		return isset($this->values[$offset]) ? $this->values[$offset] : NULL;

	}
804307
public function returnOrSet($key, $default = null)
    {
        if ($this->offsetExists($key)) {
            return $this->offsetGet($key);
        }
        $this->offsetSet($key, $default);

        return $default;
    }
942844
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $_GET;
        }
        return (isset($_GET[$key])) ? $_GET[$key] : $default;
    }
144921
public function offsetGet($offset)
    {
        return isset($this->object[$offset]) ? $this->object[$offset] : null;
    }
352489
public function getParam($key = null, $default = null)
    {
        if (!isset($key)) {
            return $this->params;
        }

        foreach ((array) $key as $k) {
            if (isset($this->params[$k])) {
                return $this->params[$k];
            }
        }

        return $default;
    }
841156
public function offsetGet($offset)
    {
        return isset($this->dataPlaceHolder[$offset]) ? $this->dataPlaceHolder[$offset] : null;
    }
924546
public function offsetGet($key, $default = null)
    {
        return isset($this->values[$key]) ? $this->values[$key] : $default;
    }
810783
private function get($key, $default = null)
    {
        if (isset($this->responseData['error'][$key])) {
            return $this->responseData['error'][$key];
        }

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

        return $default;
    }
1279261
public function offsetGet( $offset ) {
		return isset( $this->config[ $offset ] ) ? $this->config[ $offset ] : null;
	}
585945
public function offsetGet($offset)
    {
        $index = $this->findLine($offset);

        if ($index > 0) {
            $parsedKey   = null;
            $parsedValue = null;

            $parseOk = $this->parseEnvLine($this->lines[$index], $parsedKey, $parsedValue);

            return $parseOk ? $parsedValue : null;
        }

        return null;
    }
552430
public function offsetGet($offset = null)
    {
        return isset($this->properties[$offset]) ? $this->properties[$offset] : null;
    }
523282
public function
	GetInput($offset) {
	/*//
	fetch the specified input value by offset. if you want the 1st input then
	you will ask for 1. we will zero-pwn it internally.
	//*/

		--$offset;

		if(!array_key_exists($offset,$this->Inputs)) return NULL;
		else return $this->Inputs[$offset];
	}
1071614
public function getParameter($parameter, $default = null)
    {
        $value = $this->hasParameter($parameter) ? $this->container->getParameter($parameter) : null;

        return !is_null($value) ? $value : $default;
    }
1277440
public function offsetGet($offset)
    {
        $value = isset($this->arguments[$offset]) ? $this->arguments[$offset]->getRaw() : null;
        return $value;
    }
1074409
public function offsetGet($offset) {
    return isset($this->__items[$offset]) ? $this->__items[$offset] : null;
  }