3 namespace BookStack\Console\Commands;
5 use BookStack\Actions\View;
6 use Illuminate\Console\Command;
8 class ClearViews extends Command
11 * The name and signature of the console command.
15 protected $signature = 'bookstack:clear-views';
18 * The console command description.
22 protected $description = 'Clear all view-counts for all entities';
25 * 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');