1 | <?php namespace Spekkionu\Assetcachebuster\Console; |
||
11 | class GenerateCommand extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'assetcachebuster:generate'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Generates a new asset hash'; |
||
26 | /** |
||
27 | * @var HashReplacerInterface |
||
28 | */ |
||
29 | private $hashReplacer; |
||
30 | /** |
||
31 | * @var Config |
||
32 | */ |
||
33 | private $config; |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Create a new key generator command. |
||
38 | * |
||
39 | * @param HashReplacerInterface $hashReplacer |
||
40 | * @param Config $config |
||
41 | */ |
||
42 | public function __construct(HashReplacerInterface $hashReplacer, Config $config) |
||
49 | |||
50 | /** |
||
51 | * Execute the console command. |
||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function handle() |
||
66 | |||
67 | } |
||
68 |