Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Bus;
4
 
5
interface QueueingDispatcher extends Dispatcher
6
{
7
    /**
8
     * Attempt to find the batch with the given ID.
9
     *
10
     * @param  string  $batchId
11
     * @return \Illuminate\Bus\Batch|null
12
     */
13
    public function findBatch(string $batchId);
14
 
15
    /**
16
     * Create a new batch of queueable jobs.
17
     *
18
     * @param  \Illuminate\Support\Collection|array  $jobs
19
     * @return \Illuminate\Bus\PendingBatch
20
     */
21
    public function batch($jobs);
22
 
23
    /**
24
     * Dispatch a command to its appropriate handler behind a queue.
25
     *
26
     * @param  mixed  $command
27
     * @return mixed
28
     */
29
    public function dispatchToQueue($command);
30
}