cacheGet($cacheKey); if ($cached) { return $cached; } $show = $this->fetchSingleFromApi('optimized_shows', $url); if (! $show) { return null; } $show['globals'] = $this->getGlobals(); $this->cacheSet($cacheKey, $show); return $show; } }