- class
SharedQueue(php\util\SharedQueue) extendsSharedCollection - package
std - source
php/util/SharedQueue.php
Description
Class SharedQueue
->__construct()->isEmpty()->count()->clear()- Remove all elements.->add()->peek()->poll()- Retrieves and removes the head of this queue.- See also in the parent class SharedCollection
__construct(array|Traversable $array): voidisEmpty(): boolcount(): intclear(): voidRemove all elements.
add(mixed $value): boolpeek(): mixedpoll(): mixedRetrieves and removes the head of this queue.