1 | <?php |
||
19 | final class JWSBuiltFailureEvent extends Event |
||
20 | { |
||
21 | /** |
||
22 | * @var null|string |
||
23 | */ |
||
24 | protected $payload; |
||
25 | |||
26 | /** |
||
27 | * @var bool |
||
28 | */ |
||
29 | protected $isPayloadDetached; |
||
30 | |||
31 | /** |
||
32 | * @var array |
||
33 | */ |
||
34 | protected $signatures = []; |
||
35 | |||
36 | /** |
||
37 | * @var null|bool |
||
38 | */ |
||
39 | protected $isPayloadEncoded; |
||
40 | /** |
||
41 | * @var Throwable |
||
42 | */ |
||
43 | private $throwable; |
||
44 | |||
45 | public function __construct(?string $payload, array $signatures, bool $isPayloadDetached, ?bool $isPayloadEncoded, Throwable $throwable) |
||
53 | |||
54 | public function getPayload(): ?string |
||
58 | |||
59 | public function isPayloadDetached(): bool |
||
63 | |||
64 | public function getSignatures(): array |
||
68 | |||
69 | public function getisPayloadEncoded(): ?bool |
||
73 | |||
74 | public function getThrowable(): Throwable |
||
78 | } |
||
79 |