public function actionIndex() { $caches = $this->findCaches(); if (!empty($caches)) { $this->notifyCachesCanBeFlushed($caches); } else { $this->notifyNoCachesFound(); } }