/** * Execute the console command. * * @return mixed */ public function handle() { // Carregar parametro $id = $this->argument('id'); // Gerar confite $convite = $this->invite->make($id); $this->output->write('Convite: '); $this->info($convite->id); }
/** * Execute the console command. * * @return mixed */ public function handle() { $this->invite->delete(); $this->info('Convites excluidos'); }