class SendShipmentNotification implements ShouldQueue
{
use InteractsWithQueue;
/
* Handle the event.
*
* @param \App\Events\OrderShipped $event
* @return void
*/
public function handle(OrderShipped $event)
{
if (true) {
$this->release(30);
}
}
}
/@param \App\Events\OrderShipped $event
*
@return void
*/
public function handle(OrderShipped $event)
{
if (true) {
$this->release(30);
}
}
}
/
* Release the job back into the queue.
*
* Accepts a delay specified in seconds.
*
*
@param int $delay
*
@return void
*/
public function release($delay = 0);
что за метод release?
dispatch()->delay оно?