DominionEnterprises\Mongo\QueueInterface::send PHP Method

send() public method

Send a message to the queue.
public send ( array $payload, integer $earliestGet, float $priority ) : void
$payload array the data to store in the message. Data is handled same way as \MongoDB\Collection::insertOne()
$earliestGet integer earliest unix timestamp the message can be retreived.
$priority float priority for order out of get(). 0 is higher priority than 1
return void
    public function send(array $payload, $earliestGet = 0, $priority = 0.0);