class ImportCsv implements ShouldQueue (View source)

Traits

Batchable
Dispatchable
InteractsWithQueue
Queueable
SerializesModels

Properties

bool $deleteWhenMissingModels
protected Importer $importer

Methods

__construct(Import $import, array|string $rows, array $columnMap, array $options = [])

No description

array
middleware()

No description

void
handle()

No description

CarbonInterface|null
retryUntil()

No description

array
tags()

No description

void
logFailedRow(array $data, string|null $validationError = null)

No description

array
filterSensitiveData(array $data)

No description

mixed
utf8Encode(mixed $value)

No description

void
handleExceptions(array $exceptions)

No description

Details

__construct(Import $import, array|string $rows, array $columnMap, array $options = [])

No description

Parameters

Import $import
array|string $rows
array $columnMap
array $options

array middleware()

No description

Return Value

array

void handle()

No description

Return Value

void

CarbonInterface|null retryUntil()

No description

Return Value

CarbonInterface|null

array tags()

No description

Return Value

array

protected void logFailedRow(array $data, string|null $validationError = null)

No description

Parameters

array $data
string|null $validationError

Return Value

void

protected array filterSensitiveData(array $data)

No description

Parameters

array $data

Return Value

array

protected mixed utf8Encode(mixed $value)

No description

Parameters

mixed $value

Return Value

mixed

protected void handleExceptions(array $exceptions)

No description

Parameters

array $exceptions

Return Value

void