Import concerns

Interface Explanation Documentation
Nikazooz\Simplesheet\Concerns\ToCollection Import to a collection. Importing to collections
Nikazooz\Simplesheet\Concerns\ToArray Import to an array.
Nikazooz\Simplesheet\Concerns\ToModel Import each row to a model. Importing to models
Nikazooz\Simplesheet\Concerns\OnEachRow Handle each row manually.
Nikazooz\Simplesheet\Concerns\WithBatchInserts Insert models in batches. Batch inserts
Nikazooz\Simplesheet\Concerns\WithHeadingRow Define a row as heading row. Heading row
Nikazooz\Simplesheet\Concerns\WithLimit Define a limit of the amount of rows that need to be imported.
Nikazooz\Simplesheet\Concerns\WithMapping Map the row before being called in ToModel/ToCollection.
Nikazooz\Simplesheet\Concerns\WithMultipleSheets Enable multi-sheet support. Each sheet can have its own concerns (except this one). Multiple Sheets
Nikazooz\Simplesheet\Concerns\WithEvents Register events to hook into the Box Spout process. Events
Nikazooz\Simplesheet\Concerns\WithCustomCsvSettings Allows to run custom Csv settings for this specific importable.
Nikazooz\Simplesheet\Concerns\WithStartRow Define a custom start row.
Nikazooz\Simplesheet\Concerns\WithValidation Validates each row against a set of rules. Row Validation
Nikazooz\Simplesheet\Concerns\SkipsOnFailure Skips on validation errors. Row Validation
Nikazooz\Simplesheet\Concerns\SkipsOnError Skips on database exceptions. Row Validation

Traits

Trait Explanation Documentation
Nikazooz\Simplesheet\Concerns\Importable Add import/queue abilities right on the import class itself. Importables
Nikazooz\Simplesheet\Concerns\RegistersEventListeners Auto-register the available event listeners. Auto register event listeners