aboutsummaryrefslogtreecommitdiffstats
path: root/.phan/stubs/WeakMap.php
blob: 309c50c72b5ad7a0ddb133652e7125bcd8e0939d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

// Phan stub for PHP 8.0's WeakMap class

 final class WeakMap implements ArrayAccess, Countable, IteratorAggregate {

	public function count(): int {
	}

	public function getIterator(): Iterator {
	}

	public function offsetExists( object $object ): bool {
	}

	public function offsetGet( object $object ): mixed {
	}

	public function offsetSet( object $object, mixed $value ): void {
	}

	public function offsetUnset( object $object ): void {
	}
 }