src/Shamiao/L4mysqlqueue/Queue/MysqlQueue.php
public function later($delay, $job, $data = '', $queue = null)
    {
        if ($queue === null) { $queue = $this->queue; }
        if ($delay instanceof DateTime) {
            $time = $delay;
        } elseif (is_int($delay)) {
            $time = Carbon::now()->addSeconds($delay);
        } else {
            throw new ErrorException('DateTime or int $delay required. ');
        }
        $jobId = $this->insertJobRecord($this->createPayload($job, $data), 
            $time, $queue);
        return 0;
    }
public function later($delay, $job, $data = '', $queue = null)
    {
        if ($queue === null) { $queue = $this->queue; }
        if ($delay instanceof DateTime) {
            $time = $delay;
        } elseif (is_int($delay)) {
            $time = Carbon::now()->addSeconds($delay);
        } else {
            throw new ErrorException('DateTime or int $delay required. ');
        }
        $jobId = $this->insertJobRecord($this->createPayload($job, $data), 
            $time, $queue);
        return 0;
    }
Push a new job onto the queue after a delay.

@param  \DateTime|int  $delay
@param  string  $job
@param  mixed   $data
@param  string  $queue
@return mixed