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']; }