Elgg  Version 4.3
Queue.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Queue;
4 
11 interface Queue {
18  public function enqueue($item);
19 
25  public function dequeue();
26 
32  public function clear();
33 
39  public function size();
40 }
if(!$items) $item
Definition: delete.php:13
enqueue($item)
Add an item to the queue.
Queue interface.
Definition: Queue.php:11
clear()
Clear all items from the queue.
size()
Get the size of the queue.
dequeue()
Remove an item from the queue.