/** * Gets called after the cache got initialized. * * @since 1.20 * * @param boolean $hasCached */ public function onCacheInitialized($hasCached) { if ($hasCached) { $this->getOutput()->setSubtitle($this->cacheHelper->getCachedNotice($this->getContext())); } }