D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
www
/
vendor
/
blade-ui-kit
/
blade-icons
/
src
/
Console
/
Filename :
CacheCommand.php
back
Copy
<?php declare(strict_types=1); namespace BladeUI\Icons\Console; use BladeUI\Icons\Factory; use BladeUI\Icons\IconsManifest; use Illuminate\Console\Command; final class CacheCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'icons:cache'; /** * The console command description. * * @var string */ protected $description = 'Discover icon sets and generate a manifest file'; public function handle(Factory $factory, IconsManifest $manifest): int { $manifest->write($factory->all()); $this->info('Blade icons manifest file generated successfully!'); return 0; } }