1 | <?php |
||
13 | class FailProcessedEvent extends BaseEvent |
||
14 | { |
||
15 | /** |
||
16 | * @var Event |
||
17 | */ |
||
18 | private $event; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | private $maxRetryCount; |
||
24 | |||
25 | /** |
||
26 | * @param Event $event |
||
27 | * @param int $maxRetryCount |
||
28 | */ |
||
29 | public function __construct(Event $event, $maxRetryCount = 0) |
||
34 | |||
35 | /** |
||
36 | * @return Event |
||
37 | */ |
||
38 | public function getEvent() |
||
42 | |||
43 | /** |
||
44 | * @return int |
||
45 | */ |
||
46 | public function getMaxRetryCount() |
||
50 | } |
||
51 |