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