@param string $key

@return array|null
429421
protected function findPreferenceByKey(string $key)
    {
        if (!$this->preferences && !$this->lazyLoad) {
            $this->preferences = $this->preferenceRepository->all();
        }

        if ($preference = $this->preferencesRegistry->get($key)) {
            return [
                'object' => $preference,
                'value'  => $this->preferences[$key] ?? $preference->default()
            ];
        }

        return null;
    }
669448
protected function parseKey($key) {
        $key = trim($key);
        $data = explode('.', $key);
        $group = trim($data[0]);
        if (1 == count($data)) {
            return [$group, null];
        }

        return [$group, $data[1]];
    }
1014523
public function get($key)
    {
        if (array_key_exists($key, $this->container)) {
            return $this->container[$key];
        }

        return null;
    }
804423
public function getQueryParameter($key)
    {
        $queryStringArray = $this->getQueryStringAsArray();

        if (array_key_exists($key, $queryStringArray)) {
            return $queryStringArray[$key];
        }

        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;
    }
261462
protected function get($key)
    {
        $this->checkForNonEmptyKey($key);
        if (!$this->settingsHaveBeenRetrieved) {
            $this->retrieveSettings();
        }
        if (!isset($this->cachedSettings[$key])) {
            return null;
        }

        return $this->cachedSettings[$key];
    }
373213
public function getParamter($key)
    {
        return isset($this->params[$key]) ? $this->params[$key] : null;
    }
1194862
public function get($key)
    {
        if( isset($this->values[$key]) ) {
            return $this->values[$key];
        } else {
            return null;
        }
    }
201777
public function get($key)
    {
        $allowed = array_diff(array_keys(get_class_vars(get_class($this))), $this->_hidden);
        if (empty($allowed) || !empty($allowed) && in_array($key, $allowed)) {
            if (method_exists($this, 'get' . ucfirst($key))) {
                return call_user_func_array([$this, 'get' . ucfirst($key)], [$key]);
            }

            return $this->{$key};
        }

        return null;
    }
692182
public function getArray($key = null) {
        if (!is_null($key)) {
            return $this->getDeepValue($key);
        } else {
            return $this->_data;
        }
    }
1198495
public function get_property( $key ) {
		return isset( $this->properties[ $key ] ) ? $this->properties[ $key ] : null;
	}
145367
public function getParams($key = null)
	{
		if(is_null($key))
		{
			return $this->params;
		}

		return $this->params[$key];
	}
158746
public function get($key)
	{
		$result = null;

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

		return $result;
	}
940468
public function get($key)
    {
        $entry = $this->redis->hGet($this->cacheKey, $key);

        if ($entry) {
            $entry = unserialize($entry);

            if ($entry['expire']) {
                // Check expires
                $now = new \DateTime('now', new \DateTimeZone('UTC'));
                if ((int) $now->format('U') > $entry['expire']) {
                    $this->remove($key);

                    return null;
                }
            }

            return $entry['value'];
        }

        return null;
    }
136170
public static function get(string $key)
    {
        $encodedValue = @file_get_contents(self::determineDabaseFilePathFor($key));
        if ($encodedValue === false) {
            return null;
        }

        return Json::decode($encodedValue);
    }
1048715
public function get($key){
		return (isset($this->tpl['vars'][$key])) ? $this->tpl['vars'][$key] : null;
	}
766029
private function getProperty($key)
    {
        return array_key_exists($key, $this->fields) ? $this->fields[$key] : null;
    }