Level 1
Someone knows ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I try to chain multiple Jobs. My goal is to run a Job after another one finished. In Lumen 5.6, I tried to do this in my controller :
$this->dispatch(new FillBrutFec($import))->chain(new FillRaiFec());
But nothing working. I got :
Call to a member function chain() on integer
I don't know what am I doing wrong. If someone got an idea, I will be glad to use it :)
Please or to participate in this conversation.