option('layout'); if ($layout) { $count = $cacheManager->invalidateByLayout($layout); $this->info(__('seo.cache_cleared_layout', [ 'layout' => $layout, 'count' => $count, ])); } else { $cacheManager->clearAll(); $this->info(__('seo.cache_cleared_all')); } return Command::SUCCESS; } }