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