This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/bulk_import_export/events.php
2021-12-14 18:32:47 +00:00

29 lines
511 B
PHP

<?php
declare(strict_types=1);
class BulkExportEvent extends Event
{
public Image $image;
public array $fields = [];
public function __construct(Image $image)
{
parent::__construct();
$this->image = $image;
}
}
class BulkImportEvent extends Event
{
public Image $image;
public array $fields = [];
public function __construct(Image $image, $fields)
{
parent::__construct();
$this->image = $image;
$this->fields = $fields;
}
}