SyncParceirosJob.php 351 B

123456789101112131415161718
  1. <?php
  2. namespace App\Jobs;
  3. use App\Services\ParceirosImportService;
  4. class SyncParceirosJob extends BaseImportJob
  5. {
  6. protected function getImportType(): string
  7. {
  8. return 'parceiro';
  9. }
  10. protected function runSync(string $filePath): array
  11. {
  12. return app(ParceirosImportService::class)->syncFromExcel($filePath);
  13. }
  14. }