| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | #[\Attribute(\Attribute::TARGET_CLASS)] |
||
| 19 | final readonly class SentryOptions implements OptionsInterface |
||
|
|
|||
| 20 | { |
||
| 21 | public function __construct( |
||
| 22 | public bool $waitRetry = true, |
||
| 23 | public bool $onHandleFlush = true, |
||
| 24 | public bool $isSerializable = true, |
||
| 25 | ) {} |
||
| 26 | |||
| 27 | public function isSerializable(): bool |
||
| 28 | { |
||
| 29 | return $this->isSerializable; |
||
| 30 | } |
||
| 32 |