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
2020-06-23 15:01:22 +01:00

24 lines
399 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 function __construct(Image $image, $fields)
{
$this->image = $image;
$this->fields = $fields;
}
}