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\Events;
4
 
5
class JobExceptionOccurred
6
{
7
    /**
8
     * The connection name.
9
     *
10
     * @var string
11
     */
12
    public $connectionName;
13
 
14
    /**
15
     * The job instance.
16
     *
17
     * @var \Illuminate\Contracts\Queue\Job
18
     */
19
    public $job;
20
 
21
    /**
22
     * The exception instance.
23
     *
24
     * @var \Throwable
25
     */
26
    public $exception;
27
 
28
    /**
29
     * Create a new event instance.
30
     *
31
     * @param  string  $connectionName
32
     * @param  \Illuminate\Contracts\Queue\Job  $job
33
     * @param  \Throwable  $exception
34
     * @return void
35
     */
36
    public function __construct($connectionName, $job, $exception)
37
    {
38
        $this->job = $job;
39
        $this->exception = $exception;
40
        $this->connectionName = $connectionName;
41
    }
42
}