xref: /PHP-8.4/ext/zend_test/fiber.stub.php (revision c547fc18)
1<?php
2
3/**
4 * @generate-class-entries static
5 * @undocumentable
6 */
7
8final class _ZendTestFiber
9{
10    public function __construct(callable $callback) {}
11
12    public function start(mixed ...$args): mixed {}
13
14    public function resume(mixed $value = null): mixed {}
15
16    public function pipeTo(callable $callback): _ZendTestFiber {}
17
18    public static function suspend(mixed $value = null): mixed {}
19}
20