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