zend_generators.stub.php 533 B

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