Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class SysvProcessor (1.50.0)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class SysvProcessor.

ProcessItemInterface implementation with SysV IPC message queue.

Methods

submit

Submit an item for async processing.

Parameters
NameDescription
item mixed

An item to submit.

idNum int

A numeric id of the job.

Returns
TypeDescription
void

flush

Run the job with the given id. This has no effect and simply always returns false when using the batch daemon.

Parameter
NameDescription
idNum int

A numeric id of the job.

Returns
TypeDescription
bool