CanExportRecords
trait CanExportRecords (View source)
Properties
protected Exporter> | $exporter | ||
protected string|null | $job | ||
protected int|Closure | $chunkSize | ||
protected int|Closure|null | $maxRows | ||
protected string|Closure|null | $csvDelimiter | ||
protected array<string,mixed> | $options | ||
protected string|Closure|null | $fileDisk | ||
protected string|Closure|null | $fileName | ||
protected ExportFormat[] | $formats | ||
protected Closure|null | $modifyQueryUsing | ||
protected bool|Closure | $hasColumnMapping |
Methods
void
setUp()
No description
static string|null
getDefaultName()
No description
exporter(string $exporter)
No description
job(string|null $job)
No description
chunkSize(int|Closure $size)
No description
maxRows(int|Closure|null $rows)
No description
csvDelimiter(string|Closure|null $delimiter)
No description
string
getExporter()
No description
string
getJob()
No description
int
getChunkSize()
No description
int|null
getMaxRows()
No description
options(array|Closure $options)
No description
array
getOptions()
No description
fileDisk(string|Closure|null $disk)
No description
string|null
getFileDisk()
No description
fileName(string|Closure|null $name)
No description
string|null
formats(array|Closure|null $formats)
No description
array|null
getFormats()
No description
columnMapping(bool|Closure $condition = true)
No description
bool
hasColumnMapping()
No description
Details
protected void
setUp()
No description
static string|null
getDefaultName()
No description
CanExportRecords
exporter(string $exporter)
No description
CanExportRecords
job(string|null $job)
No description
CanExportRecords
chunkSize(int|Closure $size)
No description
CanExportRecords
maxRows(int|Closure|null $rows)
No description
CanExportRecords
csvDelimiter(string|Closure|null $delimiter)
No description
string
getExporter()
No description
string
getJob()
No description
int
getChunkSize()
No description
int|null
getMaxRows()
No description
CanExportRecords
options(array|Closure $options)
No description
array
getOptions()
No description
CanExportRecords
fileDisk(string|Closure|null $disk)
No description
string|null
getFileDisk()
No description
CanExportRecords
fileName(string|Closure|null $name)
No description
string|null
getFileName(Export $export)
No description
CanExportRecords
formats(array|Closure|null $formats)
No description
array|null
getFormats()
No description
CanExportRecords
modifyQueryUsing(Closure|null $callback)
No description
CanExportRecords
columnMapping(bool|Closure $condition = true)
No description
bool
hasColumnMapping()
No description