| 1 | <?php |
||
| 9 | class RouteTranslationsClearCommand extends Command |
||
| 10 | { |
||
| 11 | use TranslatedRouteCommandContext; |
||
| 12 | /** |
||
| 13 | * The console command name. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $name = 'route:trans:clear'; |
||
| 18 | /** |
||
| 19 | * The console command description. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $description = 'Remove the translated route cache files for each locale'; |
||
| 24 | /** |
||
| 25 | * The filesystem instance. |
||
| 26 | * |
||
| 27 | * @var \Illuminate\Filesystem\Filesystem |
||
| 28 | */ |
||
| 29 | protected $files; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create a new route clear command instance. |
||
| 33 | * |
||
| 34 | * @param \Illuminate\Filesystem\Filesystem $files |
||
| 35 | */ |
||
| 36 | public function __construct(Filesystem $files) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Execute the console command. |
||
| 44 | * |
||
| 45 | * @return void |
||
| 46 | */ |
||
| 47 | public function handle() |
||
| 61 | } |
||
| 62 |