Property | Type | Description | |
---|---|---|---|
$keyType | |||
$storage | |||
$valType |
Method | Description | |
---|---|---|
__construct ( $keyType, $valType, array $storage = [] ) | ||
add ( $key, $value ) | ||
clear ( ) | ||
count ( ) | ||
delete ( $key ) | ||
each ( callable $callable ) | ||
exists ( $key ) | ||
filter ( callable $condition ) | ||
get ( $key ) | ||
getIterator ( ) | ||
getKeyType ( ) | ||
getOrElse ( $key, $default ) | ||
getValueType ( ) | ||
keys ( ) | ||
map ( callable $callable ) | ||
merge ( $newItems ) | ||
toArray ( ) | ||
valueExists ( $value ) | ||
values ( ) | ||
without ( callable $condition ) |
public __construct ( $keyType, $valType, array $storage = [] ) | ||
$keyType | ||
$valType | ||
$storage | array |