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
interface 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 string|int|null
15
     */
16
    public function log($connection, $queue, $payload, $exception);
17
 
18
    /**
19
     * Get a list of all of the failed jobs.
20
     *
21
     * @return array
22
     */
23
    public function all();
24
 
25
    /**
26
     * Get a single failed job.
27
     *
28
     * @param  mixed  $id
29
     * @return object|null
30
     */
31
    public function find($id);
32
 
33
    /**
34
     * Delete a single failed job from storage.
35
     *
36
     * @param  mixed  $id
37
     * @return bool
38
     */
39
    public function forget($id);
40
 
41
    /**
42
     * Flush all of the failed jobs from storage.
43
     *
44
     * @param  int|null  $hours
45
     * @return void
46
     */
47
    public function flush($hours = null);
48
}