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

31 lines
532 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
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;
}
}