*/ public array $dispatched = []; public function dispatch(object ...$events): void { array_push($this->dispatched, ...$events); } }