WithSingle
Define interface to register a single job runner
Table of Contents
- RegisterSingle() : Result
- Register new sub jobs
Methods
RegisterSingle()
Register new sub jobs
public
RegisterSingle(array<string|int, mixed> $data) : Result
This method can be used to register a single instance of the job programmatically with setup
Parameters
- $data : array<string|int, mixed>
-
The configuration array
Return values
Result —A system result object