1<?php 2 3/** @generate-class-entries */ 4 5/** 6 * @strict-properties 7 * @not-serializable 8 */ 9final class Closure 10{ 11 private function __construct() {} 12 13 public static function bind( 14 Closure $closure, 15 ?object $newThis, 16 object|string|null $newScope = "static" 17 ): ?Closure {} 18 19 public function bindTo(?object $newThis, object|string|null $newScope = "static"): ?Closure {} 20 21 public function call(object $newThis, mixed ...$args): mixed {} 22 23 public static function fromCallable(callable $callback): Closure {} 24} 25