| 1 | <?php namespace Modules\Media\Console; |
||
| 7 | class RefreshThumbnailCommand extends Command |
||
| 8 | { |
||
| 9 | protected $name = 'asgard:media:refresh'; |
||
| 10 | protected $description = 'Create and or refresh the thumbnails'; |
||
| 11 | /** |
||
| 12 | * @var Imagy |
||
| 13 | */ |
||
| 14 | private $imagy; |
||
| 15 | /** |
||
| 16 | * @var FileRepository |
||
| 17 | */ |
||
| 18 | private $file; |
||
| 19 | |||
| 20 | public function __construct(Imagy $imagy, FileRepository $file) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Execute the console command. |
||
| 29 | * |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function fire() |
||
| 42 | } |
||
| 43 |