Jenner\SimpleFork\Cache\FileCache::get PHP Метод

get() публичный Метод

get value by key, and check if it is expired
public get ( string $key, string $default = null ) : mixed
$key string
$default string
Результат mixed
    public function get($key, $default = null)
    {
        $cache_data = $this->getItem($key);
        if ($cache_data === false || !is_array($cache_data)) {
            return $default;
        }
        return $cache_data['data'];
    }