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\Queue;
4
 
5
use Illuminate\Contracts\Queue\Queue as QueueContract;
6
 
7
class NullQueue extends Queue implements QueueContract
8
{
9
    /**
10
     * Get the size of the queue.
11
     *
12
     * @param  string|null  $queue
13
     * @return int
14
     */
15
    public function size($queue = null)
16
    {
17
        return 0;
18
    }
19
 
20
    /**
21
     * Push a new job onto the queue.
22
     *
23
     * @param  string  $job
24
     * @param  mixed  $data
25
     * @param  string|null  $queue
26
     * @return mixed
27
     */
28
    public function push($job, $data = '', $queue = null)
29
    {
30
        //
31
    }
32
 
33
    /**
34
     * Push a raw payload onto the queue.
35
     *
36
     * @param  string  $payload
37
     * @param  string|null  $queue
38
     * @param  array  $options
39
     * @return mixed
40
     */
41
    public function pushRaw($payload, $queue = null, array $options = [])
42
    {
43
        //
44
    }
45
 
46
    /**
47
     * Push a new job onto the queue after (n) seconds.
48
     *
49
     * @param  \DateTimeInterface|\DateInterval|int  $delay
50
     * @param  string  $job
51
     * @param  mixed  $data
52
     * @param  string|null  $queue
53
     * @return mixed
54
     */
55
    public function later($delay, $job, $data = '', $queue = null)
56
    {
57
        //
58
    }
59
 
60
    /**
61
     * Pop the next job off of the queue.
62
     *
63
     * @param  string|null  $queue
64
     * @return \Illuminate\Contracts\Queue\Job|null
65
     */
66
    public function pop($queue = null)
67
    {
68
        //
69
    }
70
}