mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
26 lines
424 B
PHP
26 lines
424 B
PHP
<?php
|
|
|
|
final class Generator implements Iterator
|
|
{
|
|
function rewind(): void {}
|
|
|
|
function valid(): bool {}
|
|
|
|
/** @return mixed */
|
|
function current() {}
|
|
|
|
/** @return mixed */
|
|
function key() {}
|
|
|
|
function next(): void {}
|
|
|
|
/** @return mixed */
|
|
function send($value) {}
|
|
|
|
/** @return mixed */
|
|
function throw(Throwable $exception) {}
|
|
|
|
/** @return mixed */
|
|
function getReturn() {}
|
|
}
|