1<?php 2 3/** @generate-class-entries */ 4 5/** 6 * @strict-properties 7 * @not-serializable 8 */ 9final class Generator implements Iterator 10{ 11 public function rewind(): void {} 12 13 public function valid(): bool {} 14 15 public function current(): mixed {} 16 17 public function key(): mixed {} 18 19 public function next(): void {} 20 21 public function send(mixed $value): mixed {} 22 23 public function throw(Throwable $exception): mixed {} 24 25 public function getReturn(): mixed {} 26 27 public function __debugInfo(): array {} 28} 29 30class ClosedGeneratorException extends Exception 31{ 32} 33