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-04-25 21:10:07 +00:00
|
|
|
public static function create(): 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
|
|
|
|
* @return mixed
|
|
|
|
*/
|
2020-04-25 21:10:07 +00:00
|
|
|
public function offsetGet($object) {}
|
2019-10-31 11:13:18 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param object $object
|
|
|
|
* @param mixed $value
|
|
|
|
*/
|
2020-04-25 21:10:07 +00:00
|
|
|
public function offsetSet($object, $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
|
|
|
}
|