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_box_building_event.php

23 lines
413 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
use MicroHTML\HTMLElement;
/**
* @extends PartListBuildingEvent<HTMLElement>
*/
class ImageInfoBoxBuildingEvent extends PartListBuildingEvent
{
public Image $image;
public User $user;
public function __construct(Image $image, User $user)
{
parent::__construct();
$this->image = $image;
$this->user = $user;
}
}