| 1 | <?php |
||
| 8 | final class OnExceptionEvent extends Event implements PersistEvent |
||
| 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 | /** |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | private $objects; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var bool |
||
| 37 | */ |
||
| 38 | private $ignore; |
||
| 39 | |||
| 40 | 11 | public function __construct( |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return PagerInterface |
||
| 58 | */ |
||
| 59 | 2 | public function getPager() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @return array |
||
| 66 | */ |
||
| 67 | 2 | public function getOptions() |
|
| 71 | |||
| 72 | /** |
||
| 73 | * @return ObjectPersisterInterface |
||
| 74 | */ |
||
| 75 | 2 | public function getObjectPersister() |
|
| 79 | |||
| 80 | /** |
||
| 81 | * @return \Exception |
||
| 82 | */ |
||
| 83 | 3 | public function getException() |
|
| 87 | |||
| 88 | /** |
||
| 89 | * @param \Exception $exception |
||
| 90 | */ |
||
| 91 | 1 | public function setException(\Exception $exception) |
|
| 95 | |||
| 96 | /** |
||
| 97 | * @return bool |
||
| 98 | */ |
||
| 99 | 4 | public function isIgnored() |
|
| 103 | |||
| 104 | /** |
||
| 105 | * @param bool $ignore |
||
| 106 | */ |
||
| 107 | 2 | public function setIgnore($ignore) |
|
| 111 | |||
| 112 | /** |
||
| 113 | * @return array |
||
| 114 | */ |
||
| 115 | 1 | public function getObjects() |
|
| 119 | } |