9b9f1d0341
Added transactions to bulk import Renamed beginTransaction to begin_transaction for naming consistency Updated cron uploader to handle bulk import transactions
25 lines
424 B
PHP
25 lines
424 B
PHP
<?php declare(strict_types=1);
|
|
|
|
class BulkExportEvent extends Event
|
|
{
|
|
public $image;
|
|
public $fields = [];
|
|
|
|
public function __construct(Image $image)
|
|
{
|
|
$this->image = $image;
|
|
}
|
|
}
|
|
|
|
|
|
class BulkImportEvent extends Event
|
|
{
|
|
public $image;
|
|
public $fields = [];
|
|
|
|
public function __construct(Image $image, $fields)
|
|
{
|
|
$this->image = $image;
|
|
$this->fields = $fields;
|
|
}
|
|
}
|