WorkerFactory
in
Interface for factories used to create new workers.
Table of Contents
Methods
Methods
create()
Creates a new worker instance.
public
create([Cancellation|null $cancellation = null ]) : Worker
Parameters
- $cancellation : Cancellation|null = null
Return values
Worker —The newly created worker.