getVersion() % $this->eventThreshold === 0; } public static function every100Events(): self { return new self(100); } public static function every50Events(): self { return new self(50); } public static function every10Events(): self { return new self(10); } }