2019-10-31 19:17:04 +08:00
|
|
|
<?php
|
|
|
|
|
2021-02-13 06:33:09 +08:00
|
|
|
/** @generate-class-entries */
|
2019-10-31 19:17:04 +08:00
|
|
|
|
2021-07-20 11:35:44 +08:00
|
|
|
/**
|
|
|
|
* @strict-properties
|
|
|
|
* @not-serializable
|
|
|
|
*/
|
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
|
|
|
|
2021-07-20 11:35:44 +08:00
|
|
|
/**
|
|
|
|
* @strict-properties
|
|
|
|
* @not-serializable
|
|
|
|
*/
|
2020-02-26 23:42:49 +08:00
|
|
|
final class WeakMap implements ArrayAccess, Countable, IteratorAggregate
|
2020-04-26 05:10:07 +08:00
|
|
|
{
|
2021-07-19 19:44:20 +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
|
|
|
}
|