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