githubtrue/backend/vendor/illuminate/queue/NullQueue.php @ b50f8ebd
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 |
* Push a new job onto the queue.
|
11 |
*
|
12 |
* @param string $job
|
13 |
* @param mixed $data
|
14 |
* @param string $queue
|
15 |
* @return mixed
|
16 |
*/
|
17 |
public function push($job, $data = '', $queue = null) |
18 |
{
|
19 |
//
|
20 |
}
|
21 |
|
22 |
/**
|
23 |
* Push a raw payload onto the queue.
|
24 |
*
|
25 |
* @param string $payload
|
26 |
* @param string $queue
|
27 |
* @param array $options
|
28 |
* @return mixed
|
29 |
*/
|
30 |
public function pushRaw($payload, $queue = null, array $options = []) |
31 |
{
|
32 |
//
|
33 |
}
|
34 |
|
35 |
/**
|
36 |
* Push a new job onto the queue after a delay.
|
37 |
*
|
38 |
* @param \DateTime|int $delay
|
39 |
* @param string $job
|
40 |
* @param mixed $data
|
41 |
* @param string $queue
|
42 |
* @return mixed
|
43 |
*/
|
44 |
public function later($delay, $job, $data = '', $queue = null) |
45 |
{
|
46 |
//
|
47 |
}
|
48 |
|
49 |
/**
|
50 |
* Pop the next job off of the queue.
|
51 |
*
|
52 |
* @param string $queue
|
53 |
* @return \Illuminate\Contracts\Queue\Job|null
|
54 |
*/
|
55 |
public function pop($queue = null) |
56 |
{
|
57 |
//
|
58 |
}
|
59 |
}
|