Habari\MemcacheCache::_get PHP Метод

_get() защищенный Метод

Returns the named value from the cache.
protected _get ( string $name, $group ) : mixed
$name string The name of the cached item
Результат mixed The item value or null if it doesn't exist in cache
    protected function _get($name, $group)
    {
        if (!$this->enabled) {
            return null;
        }
        if (isset($this->cache_index[$group][$name]) && ($this->cache_index[$group][$name]['keep'] || $this->cache_index[$group][$name]['expires'] > time())) {
            return $this->memcache->get($this->cache_index[$group][$name]['file']);
        }
        return null;
    }