IncomingEntry
class IncomingEntry
Properties
| string | $uuid | The entry's UUID. |
|
| string|null | $batchId | The entry's batch ID. |
|
| string|null | $type | The entry's type. |
|
| string|null | $familyHash | The entry's family hash. |
|
| mixed | $user | The currently authenticated user, if applicable. |
|
| array|string | $content | The entry's content. |
|
| array | $tags | The entry's tags. |
|
| DateTimeInterface | $recordedAt | The DateTime that indicates when the entry was recorded. |
Methods
Create a new incoming entry instance.
Create a new entry instance.
Assign the entry a given batch ID.
Assign the entry a given type.
Assign the entry a family hash.
Merge tags into the entry's existing tags.
Determine if the incoming entry has a monitored tag.
Determine if the incoming entry is a request.
Determine if the incoming entry is a failed request.
Determine if the incoming entry is a query.
Determine if the incoming entry is a slow query.
Determine if the incoming entry is a event entry.
Determine if the incoming entry is a cache entry.
Determine if the incoming entry is an authorization gate check.
Determine if the incoming entry is a failed job.
Determine if the incoming entry is a reportable exception.
Determine if the incoming entry is an exception.
Determine if the incoming entry is a dump.
Determine if the incoming entry is a log entry.
Determine if the incoming entry is a scheduled task.
Determine if the incoming entry is an client request.
Determine if the incoming entry is a Reverb entry.
Get the family look-up hash for the incoming entry.
Get an array representation of the entry for storage.
Details
at line 58
__construct(array $content, string|null $uuid = null)
Create a new incoming entry instance.
at line 72
static IncomingEntry
make(mixed ...$arguments)
Create a new entry instance.
at line 80
IncomingEntry
batchId(string $batchId)
Assign the entry a given batch ID.
at line 90
IncomingEntry
type(string $type)
Assign the entry a given type.
at line 100
IncomingEntry
withFamilyHash(string|null $familyHash)
Assign the entry a family hash.
at line 110
IncomingEntry
user(Authenticatable $user)
Set the currently authenticated user.
at line 130
IncomingEntry
tags(array $tags)
Merge tags into the entry's existing tags.
at line 140
bool
hasMonitoredTag()
Determine if the incoming entry has a monitored tag.
at line 154
bool
isRequest()
Determine if the incoming entry is a request.
at line 162
bool
isFailedRequest()
Determine if the incoming entry is a failed request.
at line 171
bool
isQuery()
Determine if the incoming entry is a query.
at line 179
bool
isSlowQuery()
Determine if the incoming entry is a slow query.
at line 187
bool
isEvent()
Determine if the incoming entry is a event entry.
at line 195
bool
isCache()
Determine if the incoming entry is a cache entry.
at line 203
bool
isGate()
Determine if the incoming entry is an authorization gate check.
at line 211
bool
isFailedJob()
Determine if the incoming entry is a failed job.
at line 220
bool
isReportableException()
Determine if the incoming entry is a reportable exception.
at line 228
bool
isException()
Determine if the incoming entry is an exception.
at line 236
bool
isDump()
Determine if the incoming entry is a dump.
at line 244
bool
isLog()
Determine if the incoming entry is a log entry.
at line 252
bool
isScheduledTask()
Determine if the incoming entry is a scheduled task.
at line 260
bool
isClientRequest()
Determine if the incoming entry is an client request.
at line 268
bool
isReverb()
Determine if the incoming entry is a Reverb entry.
at line 276
string|null
familyHash()
Get the family look-up hash for the incoming entry.
at line 284
array
toArray()
Get an array representation of the entry for storage.