1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace ProcyonWeb\TranslationGenerator; |
||
6 | |||
7 | use Illuminate\Console\Command; |
||
8 | |||
9 | class ShowFilesCommand extends Command |
||
10 | { |
||
11 | protected $signature = 'translation:show-files'; |
||
12 | |||
13 | protected $description = 'Show result of the file search'; |
||
14 | |||
15 | public function handle(): void |
||
16 | { |
||
17 | $files = (new SearchService())->getFiles(config('translation.generator.patterns')); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
18 | |||
19 | foreach ($files as $file) { |
||
20 | $this->line($file); |
||
21 | } |
||
22 | } |
||
23 | } |