| 1 | <?php |
||
| 9 | class ErrorHandlerOptions extends AbstractOptions implements ErrorHandlerOptionsInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string[] |
||
| 13 | */ |
||
| 14 | private $skipExceptions = []; |
||
| 15 | /** |
||
| 16 | * @var int|null |
||
| 17 | */ |
||
| 18 | private $errorTypes; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string[] |
||
| 22 | */ |
||
| 23 | 2 | public function getSkipExceptions(): array |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param string[] $skipExceptions |
||
| 30 | * @throws \Facile\SentryModule\Exception\InvalidArgumentException |
||
| 31 | */ |
||
| 32 | 4 | public function setSkipExceptions(array $skipExceptions) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return int|null |
||
| 47 | */ |
||
| 48 | 2 | public function getErrorTypes() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param int|null $errorTypes |
||
| 55 | * @throws \Facile\SentryModule\Exception\InvalidArgumentException |
||
| 56 | */ |
||
| 57 | 3 | public function setErrorTypes($errorTypes) |
|
| 65 | } |
||
| 66 |