summaryrefslogtreecommitdiff
path: root/Zend/zend_generators.stub.php
blob: 7f45f726b5e407f1121b21236d6785a85f570593 (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
{
    public function rewind(): void {}

    public function valid(): bool {}

    /** @return mixed */
    public function current() {}

    /** @return mixed */
    public function key() {}

    public function next(): void {}

    /** @return mixed */
    public function send($value) {}

    /** @return mixed */
    public function throw(Throwable $exception) {}

    /** @return mixed */
    public function getReturn() {}
}