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/download/events.php
2023-01-10 21:21:26 +00:00

19 lines
401 B
PHP

<?php
declare(strict_types=1);
class ImageDownloadingEvent extends Event
{
public Image $image;
public string $mime;
public string $path;
public bool $file_modified = false;
public function __construct(Image $image, string $path, string $mime)
{
parent::__construct();
$this->image = $image;
$this->path = $path;
$this->mime = $mime;
}
}