Get value from the storage if exists.

@param string $key
@param mixed  $default

@return mixed
426276
public function get($key = null, $default = null)
    {
        if ($key === null) {
            return $this->all();
        }

        return $this->getStackReference($this->storage, explode(self::SEPARATOR, $key), $default);
    }
639968
public function get($key, $default = null)
    {
        if(!$this->has($key))
            return $default;

        return DotArray::get($this->storage, $key);
    }
547678
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->collection) ? $this->collection[$key] : $default;
    }
768763
public function get(array $storage, $key, $default = null)
    {
        try
        {
            return $this->findPath($storage, $this->keys($key));
        }
        catch (ExceptionEmpty $empty)
        {
            return $default;
        }
    }
227407
public function get($key, $default = null)
	{
		$this->load();

		return ArrayUtil::get($this->data, $key, $default);
	}
109512
public function get($key, $default = null)
    {
        if (!GC_CLI && isset($_SESSION)) {
            $value = gplcart_array_get($_SESSION, $key);
        }

        return isset($value) ? $value : $default;
    }
1373167
public static function get($key, $default = "") {
        try {
            $val = self::getCache()->get($key, $default);
            self::release();
            return $val;
        } catch (\RuntimeException $e) {
            self::release();
            throw $e;
        } catch (\Error $e) {
            self::release();
            throw $e;
        }
    }
154572
public function get($key, $default = null) {
		$key = $this->getKey($key);
		$result = getConf($key);
		return $result === null ? $default : $result;
	}
14008
public function get($key, $default = false)
    {
        $value = $this->memcached->get($key);

        if ($this->memcached->getResultCode() == 0) {
            return $value;
        } else {
            return $default;
        }
    }
278116
public static function get($key, $default = null)
    {
        return isset(self::$variables[$key]) ? self::$variables[$key] : $default;
    }
329215
public function get($key, $default = NULL) {
    $value = parent::get($key);

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

    return $default;
  }
292216
public function get($key, $default = null)
    {
        if(isset($this->data[$key]))
        {
            return $this->data[$key];
        }
        
        return isset($this->session[$key]) ? $this->session[$key] : $default;
    }
81139
public function get( $key, $default = NULL )
    {
        if ( $this->offsetExists( $key ) )
        {
            return $this->items[ $key ];
        }

        return Util::value( $default );
    }
421497
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->stock) ? $this->stock[$key] : $default;
    }
832468
public function getValue($key, $default = null)
    {
        $meta = $this->meta;

        if (isset($meta[$key])) {
            return $meta[$key];
        }

        return $default;
    }
1332200
public function get( $key, $default = null ) {
		$value = get_option( $this->option_key( $key ) );

		if ( false === $value ) {
			return $default;
		}

		return $value;
	}
1165466
public function get($key, $default = null)
	{
		return is_array($this->response) ? \Arr::get($this->response, $key, $default) : $default;
	}