| 1 | <?php |
||
| 14 | class PhaseTimeUpdateEvent extends Event implements Cancellable |
||
| 15 | { |
||
| 16 | /** @var int $time */ |
||
| 17 | private $time; |
||
| 18 | /** @var int $phase */ |
||
| 19 | private $phase; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * PhaseTimeUpdateEvent constructor. |
||
| 23 | * |
||
| 24 | * @param int $time |
||
| 25 | * @param int $phase |
||
| 26 | */ |
||
| 27 | public function __construct(int $time, int $phase) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | public function getTime(): int |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | public function getPhase(): int |
||
| 48 | } |
||
| 49 |