Files
kiri-event/Struct.php
T
as2252258 2c31bea602 Revert "改名"
This reverts commit fdf58326
2022-01-08 18:49:07 +08:00

26 lines
341 B
PHP

<?php
declare(strict_types=1);
namespace Kiri\Events;
/**
*
*/
class Struct
{
public string $event;
public array|\Closure $listener;
public int $priority;
public function __construct(string $event, callable $listener, int $priority)
{
$this->event = $event;
$this->listener = $listener;
$this->priority = $priority;
}
}