EntryResult
class EntryResult implements JsonSerializable
Properties
| protected string|null | $avatar | The generated URL to the entry user's avatar. |
Methods
__construct(mixed $id, mixed $sequence, string $batchId, string $type, string|null $familyHash, array $content, CarbonInterface $createdAt, array $tags = [])
Create a new entry result instance.
generateAvatar()
Set the URL to the entry user's avatar.
array
jsonSerialize()
Get the array representation of the entry.
Details
at line 30
__construct(mixed $id, mixed $sequence, string $batchId, string $type, string|null $familyHash, array $content, CarbonInterface $createdAt, array $tags = [])
Create a new entry result instance.
at line 45
EntryResult
generateAvatar()
Set the URL to the entry user's avatar.
at line 59
array
jsonSerialize()
Get the array representation of the entry.