Elgg  Version 2.3
Queue.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Queue;
3 
15 interface Queue {
22  public function enqueue($item);
23 
29  public function dequeue();
30 
36  public function clear();
37 
43  public function size();
44 }
enqueue($item)
Add an item to the queue.
if(!$items) $item
Definition: delete.php:17
clear()
Clear all items from the queue.
size()
Get the size of the queue.
dequeue()
Remove an item from the queue.