activity = $activity; parent::__construct(); } /** * Execute the console command. * * @return mixed */ public function handle() { $this->activity->newQuery()->truncate(); $this->comment('System activity cleared'); } }