FlagCreatedDataOwner
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $email : string
- The email address of the flag owner.
- $firstName : string|null
- The first name of the flag owner.
- $lastName : string|null
- The last name of the flag owner.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
The email address of the flag owner.
public
string
$email
$firstName
The first name of the flag owner.
public
string|null
$firstName
$lastName
The last name of the flag owner.
public
string|null
$lastName
Methods
__construct()
public
__construct(string $email, string|null $firstName, string|null $lastName) : mixed
Parameters
- $email : string
- $firstName : string|null
- $lastName : string|null
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>