JWTTemplateResponse
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $content : string
- The JWT template content as a Liquid template string.
- $createdAt : string
- The timestamp when the JWT template was created.
- $object : string
- The object type.
- $updatedAt : string
- The timestamp when the JWT template was last updated.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$content
The JWT template content as a Liquid template string.
public
string
$content
$createdAt
The timestamp when the JWT template was created.
public
string
$createdAt
$object
The object type.
public
string
$object
$updatedAt
The timestamp when the JWT template was last updated.
public
string
$updatedAt
Methods
__construct()
public
__construct(string $object, string $content, string $createdAt, string $updatedAt) : mixed
Parameters
- $object : string
- $content : string
- $createdAt : string
- $updatedAt : string
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>