The JobInterface represents any job that can be serialized and run in a
separate process via the Batch daemon.

  • 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.
public abstract flush(array $items = [])

Finish any pending activity for this job.

  • return bool
public abstract identifier()

Return the job identifier

  • return string
public abstract numWorkers()

Returns the number of workers for this job.

  • return int
public abstract run()

Runs the job loop. This is expected to be a blocking call.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only