Ds\Map::xor
Ds\Pair::clear
Data Structures
PHP Manual
The Pair class
(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)
導入
A pair is used by
Ds\Map
to pair keys with values.
クラス概要
Ds\Pair
implements
JsonSerializable
{
/* メソッド */
public
__construct
([
mixed
$key
[,
mixed
$value
]] )
}
目次
Ds\Pair::clear
— Removes all values.
Ds\Pair::__construct
— Creates a new instance.
Ds\Pair::copy
— Returns a shallow copy of the pair.
Ds\Pair::isEmpty
— Returns whether the pair is empty
Ds\Pair::jsonSerialize
— Returns a representation that can be converted to JSON.
Ds\Pair::toArray
— Converts the pair to an array.
Ds\Map::xor
Ds\Pair::clear
Data Structures
PHP Manual