mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
16 lines
321 B
PHP
16 lines
321 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
class PreCustomPageEditEvent extends AbstractEvent {
|
||
|
|
|
||
|
|
public string $content;
|
||
|
|
public User $user;
|
||
|
|
|
||
|
|
public function __construct(string $content, User $user) {
|
||
|
|
$this->content = $content;
|
||
|
|
$this->user = $user;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static function internal(): bool {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
}
|