php-src/Zend/zend_closures.stub.php
Máté Kocsis 7aa2d3519b
Zend parameter renames amendment
Closes GH-6228
2020-09-29 11:04:09 +02:00

21 lines
499 B
PHP

<?php
/** @generate-function-entries */
final class Closure
{
private function __construct() {}
public static function bind(
Closure $closure,
?object $newThis,
object|string|null $newScope = "static"
): ?Closure {}
public function bindTo(?object $newThis, object|string|null $newScope = "static"): ?Closure {}
public function call(object $newThis, mixed ...$args): mixed {}
public static function fromCallable(callable $callback): Closure {}
}