Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Queue/BackgroundQueue.php
Строк: 26
<?php

namespace IlluminateQueue;

use 
IlluminateSupportFacadesConcurrency;

class 
BackgroundQueue extends SyncQueue
{
    
/**
     * Push a new job onto the queue.
     *
     * @param  string  $job
     * @param  mixed  $data
     * @param  string|null  $queue
     * @return mixed
     *
     * @throws Throwable
     */
    
public function push($job$data ''$queue null)
    {
        
Concurrency::driver('process')->defer(
            
fn () => IlluminateSupportFacadesQueue::connection('sync')->push($job$data$queue)
        );
    }
}
Онлайн: 2
Реклама