Ejemplo n.º 1
0
 /**
  * Execute the job.
  *
  * @param Service $newsService
  */
 public function handle(Service $newsService)
 {
     $newsService->sync(env('NEWS_SERVICE_URL'), Service::NEWS);
 }
Ejemplo n.º 2
0
 /**
  * Execute the job.
  *
  * @param Service $newsService
  */
 public function handle(Service $newsService)
 {
     $newsService->sync(env('PHOTO_SERVICE_URL'), Service::GALLERY, 9);
     $newsService->sync(env('PHOTO_SERVICE_URL_OLD'), Service::GALLERY, 8);
 }