/** * Execute the console command. * * @return mixed */ public function handle() { $this->info('Generar Turnos'); $this->info('Iniciado: ' . date('Y-m-d H:i:s')); $c = new \CentroOdontologoEspecialidadController(); $resultado = $c->generarTurnos(NULL, $this->argument('fecha')); $this->info($resultado); $this->info('Terminado: ' . date('Y-m-d H:i:s')); }