Cyber-Duck / laravel-excel

This package provides a way to export an Eloquent collection as an excel file and to import a Excel file as an Eloquent collection.
https://www.cyber-duck.co.uk
MIT License
74 stars 27 forks source link

Update README.md #4

Closed wsambian closed 6 years ago

wsambian commented 7 years ago

getData(Model $data) must return an array of string, and every elements is a cell. - Casting against the MODEL in the getData() produce error. It expects an array $data. It should be getData($data) instead. Thanks