Get a piece of flash data.


@param string $key The flash data key.
@return false|mixed False if not set.
19889
public function getComplexFlash($key){

        if(!isset($this->flash[$key])){
            return false;
        }//if

        return unserialize($this->flash[$key]);

    }
712357
public function get($key)
    {
        $data = [];
        $data = $this->memory->get($key);

        return (false === $data) ? null : $data;
    }
303388
public function getItem($key)
	{
		$table = $this->getTableCache();

		if (array_key_exists($key, $table)) {
			return $table[$key];
		} else {
			return false;
		}
	}
1124951
public function fetch($key)
    {

        if (!\array_key_exists($key, $this->hash)) {
            return false;
        }

        $data = $this->hash[$key];

        //check to see if it expired
        if ($data && ($data[0] == 0 || \time() <= $data[0])) {
            return $data[1];
        } else {
            $this->delete($key);
            return false;
        }
    }
600831
public function retrieve(string $key)
  {
    $file = $this->file;

    if (file_exists($file)) {
      $data = unserialize($this->decrypt(file_get_contents($file)));

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

    return null;
  }
1024421
public function get($key)
    {
        $data = ($this->isApcUEnabled) ? apcu_fetch($key) : apc_fetch($key);

        return ($data == false) ? null : $data;
    }
92867
public function get($key = null)
    {
        if (Arr::key($key, $this->_data)) {
            return $this->_data[$key];
        }

        return $this->_data;
    }
651718
public function get($key)
    {
        return isset($this->coll[$key]) ? $this->coll[$key] : false;
    }
673775
public function getKey($key)
	{
		return isset($this->data[$key]) ? $this->data[$key] : null;
	}
902488
public function getFlash($key) {
		return $this->started && isset($_SESSION[$this->flashSessionKey][$key])
			? $_SESSION[$this->flashSessionKey][$key]
			: null;
	}
821646
public function get($key)
    {
        return isset($this->vars[$key]) ? $this->vars[$key] : false;
    }
189031
public function get($key) {
        if ($this->exists($key)) {
            $key = $this->_encrypt($key);
            $contents = file_get_contents($this->_storage_path . $key);
            
            if (base64_decode($contents, true)) {
                $data = unserialize(base64_decode($contents, true));
            
                return isset($data['data']) ? $data['data'] : '';
            }
        }
        
        return null;
    }
1140800
public function get($key)
    {
        if (isset($this->storage[$key])) {
            return $this->storage[$key];
        }

        $file = $this->findFile($key);
        if ($file === false) {
            return false;
        }

        if ($file === 0) {
            return null;
        }

        return fopen($file, 'r');
    }
611243
public function get($key)
    {
        $getResult = $this->getValue($key);
        $unserialized = @unserialize($getResult);

        if (Util::hasInternalExpireTime($unserialized)) {
            $getResult = $unserialized['v'];
        }

        return $getResult;
    }
467321
public function &__get($key)
    {
        if (!isset($this->$key)) {
            $this->$key = null;
        }

        return $this->$key;
    }
878688
public function get($key)
    {
        if (is_object($key)) {
            $key = spl_object_hash($key);
        }

        return isset($this->data[$key]) ? $this->data[$key] : null;
    }
757927
public function get($key)
    {
        $filename = $this->_filename($key);
        if (!file_exists($filename)) {
            return false;
        }

        $tmp_value = file_get_contents($filename);
        $expire    = (int) substr($tmp_value, 13, 24);

        // echo time()."<br />\n";
        // echo $expire."<br />\n";
        // echo substr($tmp_value,23);exit;

        if ($expire != 0 && time() < $expire) {
            return unserialize(substr($tmp_value, 23));
        } else {
            return false;
        }
    }