*/ public function legacyHooks(): array { return []; } /** * Construct and dispatch this event through the Leantime event dispatcher. * Arguments (named arguments included) are forwarded to the constructor. */ public static function dispatch(mixed ...$args): void { EventDispatcher::dispatch_event(new static(...$args)); } }