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

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

An external daemon script for executing the batch jobs.

Namespace

Google \ Cloud \ Core \ Batch

Methods

__construct

Prepare the descriptor spec and install signal handlers.

Parameter
NameDescription
entrypoint string

Daemon's entrypoint script.

run

A loop for the parent.

Returns
TypeDescription
void

job

Fetch the child job by id.

Parameter
NameDescription
idNum int

The id of the job to find

Returns
TypeDescription
Google\Cloud\Core\Batch\JobInterface