2020-06-16 18:40:13 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class ImageDownloadingEvent extends Event
|
|
|
|
{
|
2021-03-14 23:43:50 +00:00
|
|
|
public Image $image;
|
|
|
|
public string $mime;
|
|
|
|
public string $path;
|
|
|
|
public bool $file_modified = false;
|
2020-06-16 18:40:13 -05:00
|
|
|
|
2021-03-14 23:43:50 +00:00
|
|
|
public function __construct(Image $image, string $path, string $mime)
|
2020-06-16 18:40:13 -05:00
|
|
|
{
|
2020-10-29 01:28:46 +00:00
|
|
|
parent::__construct();
|
2020-06-16 18:40:13 -05:00
|
|
|
$this->image = $image;
|
|
|
|
$this->path = $path;
|
|
|
|
$this->mime = $mime;
|
|
|
|
}
|
|
|
|
}
|