<?php
namespace wcf\system\foo\event;
use wcf\system\event\IEvent;
final class ValueAvailable implements IEvent
{
/**
* @var int
*/
private $value;
public function __construct(int $value)
{
$this->value = $value;
}
public function getValue(): int
{
return $this->value;
}
}