Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phive
Queue
Queue
PHP Interface Phive\Queue\Queue
Inheritance:
extends
Countable
Datei anzeigen
Open project: rybakit/phive-queue
Interface Usage Examples
Public Methods
Method
Description
clear
( )
Removes all items from the queue.
pop
( ) :
mixed
Removes an item from the queue and returns it.
push
(
mixed
$item
,
mixed
$eta
= null )
Adds an item to the queue.
Method Details
clear()
public
method
Removes all items from the queue.
public
clear
( )
pop()
public
method
Removes an item from the queue and returns it.
public
pop
( ) :
mixed
return
mixed
push()
public
method
Adds an item to the queue.
public
push
(
mixed
$item
,
mixed
$eta
= null )
$item
mixed
An item to be added.
$eta
mixed
The earliest time that an item can be popped.