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/view/events/image_info_set_event.php

22 lines
412 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
class ImageInfoSetEvent extends Event
{
public Image $image;
/** @var array<string, mixed> */
public array $params;
/**
* @param array<string, mixed> $params
*/
public function __construct(Image $image, array $params)
{
parent::__construct();
$this->image = $image;
$this->params = $params;
}
}