JWTExceptionWithPayloadInterface.php 396 B

1234567891011121314151617181920
  1. <?php
  2. namespace Firebase\JWT;
  3. interface JWTExceptionWithPayloadInterface
  4. {
  5. /**
  6. * Get the payload that caused this exception.
  7. *
  8. * @return object
  9. */
  10. public function getPayload(): object;
  11. /**
  12. * Get the payload that caused this exception.
  13. *
  14. * @param object $payload
  15. * @return void
  16. */
  17. public function setPayload(object $payload): void;
  18. }