service = $service; } /** * The console command name. * * @var string */ protected $name = 'summit:external-schedule-feed-ingestion-process'; /** * The console command description. * * @var string */ protected $description = 'Process External Schedule Feed for summits'; /** * The name and signature of the console command. * * @var string */ protected $signature = 'summit:external-schedule-feed-ingestion-process'; public function handle() { $this->info("starting summits external ingestion"); $start = time(); $this->service->ingestAllSummits(); $end = time(); $delta = $end - $start; $this->info(sprintf("execution call %s seconds", $delta)); log::info(sprintf("execution call %s seconds", $delta)); } }