Laravel Excel ExcelFile injections -


i've read tutorial maatwebsite. according tutorial, using excelfile class.

here link

but confusing part is, never wrote file name nor location of file. please guide me.

thanks

edit: meant code:

class userlistimport extends \maatwebsite\excel\files\excelfile {      public function getfile()     {         return storage_path('exports') . '/file.csv';     }      public function getfilters()     {         return [             'chunk'         ];     }  } 

where put it?


Comments

Popular posts from this blog

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -

how to add preprocess loader in webpack 2 -