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

17 lines
375 B
PHP

<?php
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;
}
}