class Import extends Model (View source)

Traits

Prunable

Properties

protected $casts
protected $guarded
static protected bool $hasPolymorphicUserRelationship
string $file_name
string $file_path
Importer> $importer
int $processed_rows
int $total_rows
int $successful_rows
FailedImportRow> read-only $failedRows
Authenticatable read-only $user

Methods

HasMany
failedRows()

No description

BelongsTo
user()

No description

getImporter(array $columnMap, array $options)

No description

int
getFailedRowsCount()

No description

static void
polymorphicUserRelationship(bool $condition = true)

No description

static bool

Details

HasMany failedRows()

No description

Return Value

HasMany

BelongsTo user()

No description

Return Value

BelongsTo

Importer getImporter(array $columnMap, array $options)

No description

Parameters

array $columnMap
array $options

Return Value

Importer

int getFailedRowsCount()

No description

Return Value

int

static void polymorphicUserRelationship(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

static bool hasPolymorphicUserRelationship()

No description

Return Value

bool