\ManaPHP\MessagingQueueInterface

Summary

Methods
Constants
push()
pop()
delete()
length()
PRIORITY_HIGHEST
PRIORITY_NORMAL
PRIORITY_LOWEST
No protected methods found
N/A
No private methods found
N/A

Constants

PRIORITY_HIGHEST

PRIORITY_HIGHEST = 1

PRIORITY_NORMAL

PRIORITY_NORMAL = 5

PRIORITY_LOWEST

PRIORITY_LOWEST = 9

Methods

push()

push(string  $topic, string  $body, integer  $priority = self::PRIORITY_NORMAL) : void

Parameters

string $topic
string $body
integer $priority

pop()

pop(string  $topic, integer  $timeout = PHP_INT_MAX) : string|false

Parameters

string $topic
integer $timeout

Returns

string|false

delete()

delete(string  $topic) : void

Parameters

string $topic

length()

length(string  $topic, integer  $priority = null) : integer

Parameters

string $topic
integer $priority

Returns

integer