-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
By default a Laravel Job uses Dispatchable, InteractsWithQueue, Queueable, SerializesModels
.
The queue job provided by the package should use all of them.
Dispatchable
: will allow to let the job dispatch itselfInteractsWithQueue
: is optional sugar on the cakeQueueable
: will allow to define the queue and connection of the jobSerializesModels
: should be required because the job accepts and handles an eloquent model
Metadata
Metadata
Assignees
Labels
No labels
Activity
freekmurze commentedon Aug 6, 2020
Feel free to PR improvements around this. It might also be nice to let the user, in the config file, specify the job class to be used
Gummibeer commentedon Aug 6, 2020
Because the user has to self dispatch the job I don't see any need for a config value. There isn't any controller or something dispatching the job inside the package.
The only useful thing in config would be to define the queue and connection.
Will open a PR.