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