Get the requested item from the flashed input array.

@param  string $key
@param  mixed $default
@return mixed
540769
public function getOldInput( $key = null, $default = null )
	{
		$input = $this->get( '_old_input', [] );

		// Input that is flashed to the session can be easily retrieved by the
		// developer, making repopulating old forms and the like much more
		// convenient, since the request's previous input is available.
		return Arr::get( $input, $key, $default );
	}
1088952
public function get($key = '', $default = null)
    {
        $key = $this->getCompositeKey($key);
        if (empty($key)) {
            return $this->storage;
        }
        return ArrayHelper::getValue($this->storage, $key, $default);
    }
712634
public function get($key, $default = NULL) {

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

	}
474430
public function get($key, $default = null)
    {
        list($namespace, $group, $item) = $this->parseKey($key);

        $collection = $this->getCollection($group, $namespace);

        $this->load($group, $namespace, $collection);

        if (empty($item)) {
            return Arr::get($this->items, $collection, $default);
        }

        return Arr::get($this->items[$collection], $item, $default);
    }
718822
public static function get($key, $default = null)
    {
        if (is_null($key)) {
            return $default;
        }

        return (isset($_GET[$key]) ? $_GET[$key] : $default);
    }
461080
public static function get( $key, $default = null ) {
        if ( ! self::has($key) ) {
            if ( $default instanceof FrameworkException ) throw $default;
            return $default;
        }
        
        $key_array = preg_split('/\./', $key );
        $return = self::$data;

        foreach($key_array as $k)
            $return = $return[$k];

        return $return;
    }
1028269
public function get($key, $default = null) {

		if(false === is_string($key) && false === is_array($key)) {
   			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string or array, "%s" given', __METHOD__, gettype($key)), E_USER_ERROR);
   		}

   		if(0 === strlen($key)) {
   			return trigger_error(sprintf('Argument 1 passed to %s() may not be an empty string', __METHOD__), E_USER_ERROR);
   		}

		$result = apcu_fetch($key, $success);

		if(true === $success) {
			return $result;
		}

		return $default;
	}
421497
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->stock) ? $this->stock[$key] : $default;
    }
227407
public function get($key, $default = null)
	{
		$this->load();

		return ArrayUtil::get($this->data, $key, $default);
	}
1153367
public function get($key, $default = null) {

        return array_key_exists($key, $this->options) ? $this->options[$key] : $default;
    }
437725
public function get($key, $default = null)
	{
		if(array_key_exists($key, $this->items))
		{
			return $this->items[$key];
		}

		return $default;
	}
105216
static public function get($key = null, $default = null) {
        if (is_null($key)) return json_decode(json_encode(self::$_config));
        
        $config = &self::$_config;
        
        return Utils::arrayGet($config, $key, $default);
    }
90675
public function get($key, $default = null)
    {
        if ($this->offsetExists($key)) {
            return $this->items[$key];
        }

        return Helper::value($default);
    }
764575
public function input($key = null, $default = null)
    {
        if ($key === null) {
            return $this->input;
        }

        return array_key_exists($key, $this->input) ? $this->input[$key] : $default;
    }
160455
public function get($key, $default = null)
    {
        if (! $this->has($key)) {
            return $default;
        }

        if (! $this->isNestedKey($key)) {
            return $this->items[$key];
        }

        return $this->getNestedValueByKey($key);
    }
1297806
public static function get(array $array, $key, $default = null)
    {
        if (array_key_exists($key, $array)) {
            return $array[$key];
        }

        if (strpos($key, '.') === false) {
            return $default;
        }

        foreach (explode('.', $key) as $segment) {
            if (is_array($array) && array_key_exists($segment, $array)) {
                $array = $array[$segment];
            } else {
                return $default;
            }
        }

        return $array;
    }
68814
public function get($key = null, $default = null)
    {
        if (!func_num_args()) {
            return $this->collection->all();
        }

        return $this->fetchFromArray($key, $default);
    }