ZMQPoll::addAdd item to the poll set Description
public string ZMQPoll::add
( mixed
$entry
, integer $type
)Adds a new item to the poll set and returns the internal id of the added item. The item can be removed from the poll set using the returned string id. Parameters
Return ValuesReturns a string id of the added item which can be later used to remove the item. Throws ZMQPollException on error. |