2019-10-31 19:17:04 +08:00
|
|
|
<?php
|
|
|
|
|
2020-04-26 05:10:07 +08:00
|
|
|
/** @generate-function-entries */
|
2019-10-31 19:17:04 +08:00
|
|
|
|
2020-04-26 05:10:07 +08:00
|
|
|
final class WeakReference
|
|
|
|
{
|
|
|
|
public function __construct() {}
|
2019-10-31 19:17:04 +08:00
|
|
|
|
2020-07-17 02:46:45 +08:00
|
|
|
public static function create(object $object): WeakReference {}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
2020-04-26 05:10:07 +08:00
|
|
|
public function get(): ?object {}
|
|
|
|
}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
2020-02-26 23:42:49 +08:00
|
|
|
final class WeakMap implements ArrayAccess, Countable, IteratorAggregate
|
2020-04-26 05:10:07 +08:00
|
|
|
{
|
2019-10-31 19:13:18 +08:00
|
|
|
/**
|
|
|
|
* @param object $object
|
|
|
|
*/
|
2020-08-14 23:36:20 +08:00
|
|
|
public function offsetGet($object): mixed {}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
2020-08-14 23:36:20 +08:00
|
|
|
/** @param object $object */
|
|
|
|
public function offsetSet($object, mixed $value): void {}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
|
|
|
/** @param object $object */
|
2020-04-26 05:10:07 +08:00
|
|
|
public function offsetExists($object): bool {}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
|
|
|
/** @param object $object */
|
2020-04-26 05:10:07 +08:00
|
|
|
public function offsetUnset($object): void {}
|
2019-10-31 19:13:18 +08:00
|
|
|
|
2020-04-26 05:10:07 +08:00
|
|
|
public function count(): int {}
|
2020-02-26 23:42:49 +08:00
|
|
|
|
|
|
|
public function getIterator(): Iterator {}
|
2019-10-31 19:13:18 +08:00
|
|
|
}
|