21 lines
396 B
PHP
21 lines
396 B
PHP
![]() |
<?php
|
||
|
namespace Firebase\JWT;
|
||
|
|
||
|
interface JWTExceptionWithPayloadInterface
|
||
|
{
|
||
|
/**
|
||
|
* Get the payload that caused this exception.
|
||
|
*
|
||
|
* @return object
|
||
|
*/
|
||
|
public function getPayload(): object;
|
||
|
|
||
|
/**
|
||
|
* Get the payload that caused this exception.
|
||
|
*
|
||
|
* @param object $payload
|
||
|
* @return void
|
||
|
*/
|
||
|
public function setPayload(object $payload): void;
|
||
|
}
|