$this->app->request->file('filename')->getMimeType() === 'text/csv';
                  
                  
                              
                  
                  
                      return $isCsv ? app(ExportCsv::class) : app(ExportJson::class);
                  
                  
                  });
                  
                  
                
спасибо
Обсуждают сегодня