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\Failed;
4
 
5
class NullFailedJobProvider implements FailedJobProviderInterface
6
{
7
    /**
8
     * Log a failed job into storage.
9
     *
10
     * @param  string  $connection
11
     * @param  string  $queue
12
     * @param  string  $payload
13
     * @param  \Throwable  $exception
14
     * @return int|null
15
     */
16
    public function log($connection, $queue, $payload, $exception)
17
    {
18
        //
19
    }
20
 
21
    /**
22
     * Get a list of all of the failed jobs.
23
     *
24
     * @return array
25
     */
26
    public function all()
27
    {
28
        return [];
29
    }
30
 
31
    /**
32
     * Get a single failed job.
33
     *
34
     * @param  mixed  $id
35
     * @return object|null
36
     */
37
    public function find($id)
38
    {
39
        //
40
    }
41
 
42
    /**
43
     * Delete a single failed job from storage.
44
     *
45
     * @param  mixed  $id
46
     * @return bool
47
     */
48
    public function forget($id)
49
    {
50
        return true;
51
    }
52
 
53
    /**
54
     * Flush all of the failed jobs from storage.
55
     *
56
     * @param  int|null  $hours
57
     * @return void
58
     */
59
    public function flush($hours = null)
60
    {
61
        //
62
    }
63
}