Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Collections
DictionaryInterface
filter
Collections\DictionaryInterface::filter PHP Method
DictionaryInterface Interface Documentation
Show file
Open project: danielgsims/php-collections
filter()
public
method
Returns a dictionary that only contains the key-value pairs which satisfy $condition.
public
filter
(
callable
$condition
) :
static
$condition
callable
return
static
public function filter(callable $condition);
DictionaryInterface
add
clear
count
delete
each
exists
filter
get
getKeyType
getOrElse
getValueType
keys
map
merge
toArray
valueExists
values
without