Illuminate\Bus\Dispatcher::pushCommandToQueue PHP Метод

pushCommandToQueue() защищенный метод

Push the command onto the given queue instance.
protected pushCommandToQueue ( Illuminate\Contracts\Queue\Queue $queue, mixed $command ) : mixed
$queue Illuminate\Contracts\Queue\Queue
$command mixed
Результат mixed
    protected function pushCommandToQueue($queue, $command)
    {
        if (isset($command->queue) && isset($command->delay)) {
            return $queue->laterOn($command->queue, $command->delay, $command);
        }
        if (isset($command->queue)) {
            return $queue->pushOn($command->queue, $command);
        }
        if (isset($command->delay)) {
            return $queue->later($command->delay, $command);
        }
        return $queue->push($command);
    }