$prefix
$prefix : string
Prefix for queued messages
Queue to contain commands issued by plugins to be sent to servers so as to allow for manipulation of those commands by plugins prior to their transmission.
extract() : \Phergie\Irc\Event\EventInterface|null
Removes and returns an event from the front of the queue.
Removed event or null if
the queue is empty
compare(\Phergie\Irc\Bot\React\EventQueuePriority $priority1, \Phergie\Irc\Bot\React\EventQueuePriority $priority2) : int
Overrides native default comparison logic to assign higher priority to events inserted earlier.
\Phergie\Irc\Bot\React\EventQueuePriority | $priority1 | |
\Phergie\Irc\Bot\React\EventQueuePriority | $priority2 |
getPriority(string $command, array $params) : \Phergie\Irc\Bot\React\EventQueuePriority
Returns the priority of a specified command.
string | $command | |
array | $params | Unused, intended for use by subclasses |