1 | <?php |
||
8 | class FlushVarnishCache extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'varnish:flush'; |
||
16 | |||
17 | |||
18 | private $varnish; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Flush the varnish cache.'; |
||
26 | |||
27 | public function __construct(Varnish $varnish) |
||
33 | |||
34 | /** |
||
35 | * Execute the console command. |
||
36 | * |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function handle() |
||
45 | } |
||
46 |