summaryrefslogtreecommitdiff
path: root/Zend/zend_generators.stub.php
blob: 3599cc0e69c2bb4ff4b87d6cceb696ee2ea11889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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() {}
}