1 | <?php |
||
16 | abstract class AbstractMap implements MapInterface |
||
17 | { |
||
18 | /** |
||
19 | * Adds all the mappings from specified map to this map |
||
20 | * |
||
21 | * @param MapInterface $map |
||
22 | * @return void |
||
23 | */ |
||
24 | 1 | public function putAll(MapInterface $map) |
|
31 | |||
32 | /** |
||
33 | * Use a closure to determine existence in the map |
||
34 | * |
||
35 | * The closure will get passed a [@see MapEntry]. Returning true from the |
||
36 | * closure will return true from this method. |
||
37 | * |
||
38 | * @param callable $exists |
||
39 | * @return bool |
||
40 | */ |
||
41 | 1 | public function exists(callable $exists): bool |
|
52 | } |
||
53 |