PHP Class Phive\Queue\MongoQueue

Inheritance: implements Phive\Queue\Queue
Datei anzeigen Open project: rybakit/phive-queue

Public Methods

Method Description
__construct ( MongoClient $mongoClient, $dbName, $collName )
clear ( )
count ( )
pop ( )
push ( $item, $eta = null )

Protected Methods

Method Description
getCollection ( )

Method Details

__construct() public method

public __construct ( MongoClient $mongoClient, $dbName, $collName )
$mongoClient MongoClient

clear() public method

public clear ( )

count() public method

public count ( )

getCollection() protected method

protected getCollection ( )

pop() public method

public pop ( )

push() public method

public push ( $item, $eta = null )