I am interested in getting the job id (database connection) for jobs.
I am seeing some discrepancies and wanted to get some input:
These give me an id:
$id = Bus::dispatch(new TestJob()); $Id = dispatch(new TestJob());
But this just returns a PendingDispatch with the id = null