Gets a $key from the internal container.

@param mixed $key

@return mixed|null
332316
public function offsetGet($key)
    {
        if (!\is_array($key)) {
            return $this->offsetExists($key) ? $this->container[$key] : null;
        }

        $namespace = key($key);
        $key = current($key);

        if (!$this->offsetExists($namespace) || !\is_array($this->container[$namespace])) {
            return null;
        }

        if (isset($this->container[$namespace][$key]) || \array_key_exists($key, $this->container[$namespace])) {
            return $this->container[$namespace][$key];
        }

        return null;
    }
242551
public function getGetItem($key)
    {
        return isset($this->get[$key]) ? $this->get[$key] : null;
    }
158746
public function get($key)
	{
		$result = null;

		if (isset($this->vars[$key]))
		{
			$result = $this->vars[$key];
		}

		return $result;
	}
356366
public function get ($key) {
    if (isset($this->map[$key])) {
      return $this->map[$key];
    }
    return null;
  }
1149207
public function get($key)
    {
        $storageValue = null;
        if (true === array_key_exists($key, $this->storage)) {
            $storageValue = $this->storage[$key];
        }
        return $storageValue;
    }
337863
protected function retrieve($key)
    {
        if (($cache = $this->memcache->get($this->key . $key)) !== false) {
            return $cache;
        }

        return null;
    }
1021280
private function get($key) {
		if (isset($_SESSION[self::SESSION_KEY_FLASH]) && isset($_SESSION[self::SESSION_KEY_FLASH][$key])) {
			$message = $_SESSION[self::SESSION_KEY_FLASH][$key];

			unset($_SESSION[self::SESSION_KEY_FLASH][$key]);

			return $message;
		}
		else {
			return null;
		}
	}
1127057
public function get($key)
    {
        $file=$this->getCacheDir().$key;
        if(file_exists($file)){
            $content=file_get_contents($file);
            $content=unserialize($content);
            return $content;
        }
        return null;
    }
926572
public function get($key)
    {
        $this->assertOpened();
        $key = (string) $key;
        if (isset($this->contents[$key])) {
            return $this->contents[$key];
        }
        return null;
    }
449226
public function get(string $key)
    {
        if (!isset($this->data[$this->activeAssetSourceIdentifier])) {
            $this->initializeData($this->activeAssetSourceIdentifier);
        }
        return $this->data[$this->activeAssetSourceIdentifier][$key] ?? null;
    }
83343
public function get($key)
	{
		$hash = md5($key);
		$cacheFile = $this->getPath().'/'.$hash.'.cache';

		if (!is_file($cacheFile)) {
			return null;
		}
		return unserialize(file_get_contents($cacheFile));
	}
1126558
public function get($key)
	{
		$key = strtolower($key);
		if (isset($this->summoners[$key]))
		{
			return $this->summoners[$key];
		}

		return null;
	}
518754
public function get($key) {
        $filename = $this->generateFileLocation($key);
        if (file_exists($filename) && is_readable($filename)) {
            $cache = unserialize(file_get_contents($filename));
            if ($cache['expires'] > time()) {
                return $cache['content'];
            } else {
                unlink($filename);
            }
        }
        return null;
    }
1332085
private function getKey ( $key = NULL ) {
        if ($key === NULL) {
            $key = $this->__keyName;
            return $this->getClassKey() . '_' . $this->$key;
        }
        return $this->getClassKey() . '_' . $key;
    }
535971
private function getCache($key)
    {
        $cache = $this->client->getItem($key);
        if ($cache->isHit()) {
            return $cache->get();
        }

        return null;
    }
321536
public function get($key)
    {
        $curlHandler = $this->curlHandler($key.'?fields=_source,_ttl');

        $response = \curl_exec($curlHandler);
        \curl_close($curlHandler);

        if (false !== $response) {
            $response = \json_decode($response, true);

            if (true === $response['exists'] && $response['fields']['_ttl'] > 0) {
                return $response["_source"]['value'];
            }
        }

        return null;
    }
477793
public static function get($key)
    {
        empty(self::$prefix) && self::$prefix = Config::get('session_prefix');
        return (isset($_SESSION[self::$prefix . $key])) ? $_SESSION[self::$prefix . $key] : null;
    }