Hold configurations for the {@see \Google\Cloud\Core\Batch\BatchRunner}.

  • experimental The experimental flag means that while we believe this method or class is ready for use, it may change before release in backwards- incompatible ways. Please use with caution, and test thoroughly when upgrading.
CloneableInstantiable
Methods
public getJobFromId( $identifier)
 
Get the job with the given identifier.

  • return JobInterface|null
public getJobFromIdNum( $idNum)
 
Get the job with the given numeric id.

  • return JobInterface|null
public getJobs()
 
Get all the jobs indexed by the job's identifier.

  • return array Associative array of JobInterface instances keyed by a string identifier.
public registerJob( $identifier, $callback)
 
Register a job for executing in batch.

  • return void
Properties
private $identifierToId
private $idToIdentifier
private $jobs
 


  • var array Associative array of JobInterface instances keyed by identifier.
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only