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

namespace IlluminateContractsBus;

interface 
QueueingDispatcher extends Dispatcher
{
    
/**
     * Attempt to find the batch with the given ID.
     *
     * @param  string  $batchId
     * @return IlluminateBusBatch|null
     */
    
public function findBatch(string $batchId);

    
/**
     * Create a new batch of queueable jobs.
     *
     * @param  IlluminateSupportCollection|array  $jobs
     * @return IlluminateBusPendingBatch
     */
    
public function batch($jobs);

    
/**
     * Dispatch a command to its appropriate handler behind a queue.
     *
     * @param  mixed  $command
     * @return mixed
     */
    
public function dispatchToQueue($command);
}
Онлайн: 0
Реклама