php-src/Zend/zend_generators.stub.php

31 lines
533 B
PHP
Raw Normal View History

<?php
/** @generate-class-entries */
/**
* @strict-properties
* @not-serializable
*/
final class Generator implements Iterator
{
public function rewind(): void {}
public function valid(): bool {}
public function current(): mixed {}
public function key(): mixed {}
public function next(): void {}
public function send(mixed $value): mixed {}
public function throw(Throwable $exception): mixed {}
public function getReturn(): mixed {}
}
class ClosedGeneratorException extends Exception
{
}