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