1 | <?php |
||
10 | class Job |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var AbstractEvent |
||
15 | */ |
||
16 | public $event; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | public $jobId; |
||
22 | |||
23 | /** |
||
24 | * @var integer |
||
25 | */ |
||
26 | public $timestamp; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | public $errorCounter = 0; |
||
32 | |||
33 | /** |
||
34 | * @param AbstractEvent $event |
||
35 | * @param string $jobId |
||
36 | * @param integer $timestamp |
||
37 | */ |
||
38 | 8 | public function __construct(AbstractEvent $event, $jobId, $timestamp) |
|
44 | } |
||
45 |