components->info('Clearing cached components and Blade icons.'); $tasks = collect(); if ($this->canCachePanelComponents()) { $tasks->put( 'Clearing cached components', fn (): bool => $this->callSilent('filament:clear-cached-components') === static::SUCCESS ); } $tasks->put( 'Clearing cached Blade icons', fn (): bool => $this->callSilent('icons:clear') === static::SUCCESS ); $tasks->each(fn (Closure $task, string $description) => $this->components->task($description, $task)); $this->newLine(); return static::SUCCESS; } }