Drive Manifold

ImportBatch
in package
Uses SerializesCollections

Table of Contents

$batchSize  : int
$data  : Collection
$endRow  : int
$importId  : string
$importLimit  : int
$startRow  : int
$totalRows  : int
__construct()  : mixed
__serialize()  : array<string|int, mixed>
Prepare the instance values for serialization.
__unserialize()  : void
Restore the model after serialization.
getBatchSize()  : int
getData()  : Collection
getEndRow()  : int
getImportId()  : string
getImportLimit()  : int
getStartRow()  : int
getTotalRows()  : int
isLastBatch()  : bool
getPropertyValue()  : mixed
Get the property value for the given property.
getRestoredPropertyValue()  : mixed
Get the restored property value.
getSerializedPropertyValue()  : mixed
Get the serialized property value.

Properties

Methods

__construct()

public __construct(string $importId, Collection $data, int $startRow, int $endRow, int $totalRows, int $batchSize, int $importLimit) : mixed
Parameters
$importId : string
$data : Collection
$startRow : int
$endRow : int
$totalRows : int
$batchSize : int
$importLimit : int
Return values
mixed

__serialize()

Prepare the instance values for serialization.

public __serialize() : array<string|int, mixed>
Tags
throws
JsonException
Return values
array<string|int, mixed>

__unserialize()

Restore the model after serialization.

public __unserialize(array<string|int, mixed> $values) : void
Parameters
$values : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
void

getBatchSize()

public getBatchSize() : int
Return values
int

getData()

public getData() : Collection
Return values
Collection

getEndRow()

public getEndRow() : int
Return values
int

getImportId()

public getImportId() : string
Return values
string

getImportLimit()

public getImportLimit() : int
Return values
int

getStartRow()

public getStartRow() : int
Return values
int

getTotalRows()

public getTotalRows() : int
Return values
int

isLastBatch()

public isLastBatch() : bool
Return values
bool

getPropertyValue()

Get the property value for the given property.

protected getPropertyValue(ReflectionProperty $property) : mixed
Parameters
$property : ReflectionProperty
Return values
mixed

getRestoredPropertyValue()

Get the restored property value.

protected getRestoredPropertyValue(string $property, mixed $value) : mixed
Parameters
$property : string
$value : mixed
Tags
throws
ReflectionException
Return values
mixed

getSerializedPropertyValue()

Get the serialized property value.

protected getSerializedPropertyValue(mixed $value) : mixed
Parameters
$value : mixed
Tags
throws
JsonException
Return values
mixed

Search results