Ds\Pair::clearRemoves all values. Description
public void Ds\Pair::clear
( void
)
Removes all values from the pair. ParametersThis function has no parameters. Return ValuesNo value is returned. ExamplesExample #1 Ds\Pair::clear example
<?php The above example will output something similar to: Ds\Pair Object ( [0] => 1 [1] => 2 [2] => 3 ) Ds\Pair Object ( ) |