Documentations › mmo.core › php › interfaces iEvent MMO\core\interfaces · 1 symbol · generated 5 Oct 2026
Any object being dispatched SHOULD implements at least this interface It is an Event regarding PSR14: Event dispatcher It MUST not return a value after being dispatched.
interface MMO\core\interfaces\iEvent Namespace MMO\core\interfacesMethods7 abstract static function AddListener(callable $handler, int $priority = 0): void abstract function dispatch(): static abstract static function GetListeners(): array abstract function getOrigin(): object|string abstract static function HasListener(callable|object $handler): bool abstract static function RemoveListener(callable $handler): bool abstract static function Send(mixed ...$args): static