Files
kiri-core/System/Events/Struct.php
T
2021-08-03 18:18:09 +08:00

26 lines
376 B
PHP

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