Elgg  Version 3.0
Queue.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Queue;
4 
16 interface Queue {
23  public function enqueue($item);
24 
30  public function dequeue();
31 
37  public function clear();
38 
44  public function size();
45 }
enqueue($item)
Add an item to the queue.
if(!$items) $item
Definition: delete.php:13
Queue interface.
Definition: Queue.php:16
clear()
Clear all items from the queue.
size()
Get the size of the queue.
dequeue()
Remove an item from the queue.