| 1 | <?php |
||
| 8 | final class OnExceptionEvent extends Event |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var PagerInterface |
||
| 12 | */ |
||
| 13 | private $pager; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var ObjectPersisterInterface |
||
| 17 | */ |
||
| 18 | private $objectPersister; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \Exception |
||
| 22 | */ |
||
| 23 | private $exception; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | private $options; |
||
| 29 | |||
| 30 | private $ignore; |
||
| 31 | |||
| 32 | 2 | public function __construct(PagerInterface $pager, ObjectPersisterInterface $objectPersister, \Exception $exception, array $options) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return PagerInterface |
||
| 44 | */ |
||
| 45 | 1 | public function getPager() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return array |
||
| 52 | */ |
||
| 53 | 1 | public function getOptions() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return ObjectPersisterInterface |
||
| 60 | */ |
||
| 61 | 1 | public function getObjectPersister() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return \Exception |
||
| 68 | */ |
||
| 69 | 1 | public function getException() |
|
| 73 | |||
| 74 | /** |
||
| 75 | * @param \Exception $exception |
||
| 76 | */ |
||
| 77 | public function setException(\Exception $exception) |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @return bool |
||
| 84 | */ |
||
| 85 | 2 | public function isIgnored() |
|
| 89 | |||
| 90 | /** |
||
| 91 | * @param bool $ignore |
||
| 92 | */ |
||
| 93 | 1 | public function setIgnore($ignore) |
|
| 97 | } |