ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
BeforeValidException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Firebase\JWT;
4 
5 class BeforeValidException extends \UnexpectedValueException implements JWTExceptionWithPayloadInterface
6 {
7  private object $payload;
8 
9  public function setPayload(object $payload): void
10  {
11  $this->payload = $payload;
12  }
13 
14  public function getPayload(): object
15  {
16  return $this->payload;
17  }
18 }
getPayload()
Get the payload that caused this exception.
setPayload(object $payload)
Get the payload that caused this exception.