3 namespace BookStack\Console\Commands;
5 use Illuminate\Console\Command;
7 class ClearViews extends Command
10 * The name and signature of the console command.
14 protected $signature = 'bookstack:clear-views';
17 * The console command description.
21 protected $description = 'Clear all view-counts for all entities.';
24 * Create a new command instance.
27 public function __construct()
29 parent::__construct();
33 * Execute the console command.
37 public function handle()
40 $this->comment('Views cleared');