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. |
|
| CarbonInterface | $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 70
static IncomingEntry
make(mixed ...$arguments)
Create a new entry instance.
at line 78
IncomingEntry
batchId(string $batchId)
Assign the entry a given batch ID.
at line 88
IncomingEntry
type(string $type)
Assign the entry a given type.
at line 98
IncomingEntry
withFamilyHash(string|null $familyHash)
Assign the entry a family hash.
at line 108
IncomingEntry
user(Authenticatable $user)
Set the currently authenticated user.
at line 128
IncomingEntry
tags(array $tags)
Merge tags into the entry's existing tags.
at line 138
bool
hasMonitoredTag()
Determine if the incoming entry has a monitored tag.
at line 152
bool
isRequest()
Determine if the incoming entry is a request.
at line 160
bool
isFailedRequest()
Determine if the incoming entry is a failed request.
at line 169
bool
isQuery()
Determine if the incoming entry is a query.
at line 177
bool
isSlowQuery()
Determine if the incoming entry is a slow query.
at line 185
bool
isEvent()
Determine if the incoming entry is a event entry.
at line 193
bool
isCache()
Determine if the incoming entry is a cache entry.
at line 201
bool
isGate()
Determine if the incoming entry is an authorization gate check.
at line 209
bool
isFailedJob()
Determine if the incoming entry is a failed job.
at line 218
bool
isReportableException()
Determine if the incoming entry is a reportable exception.
at line 226
bool
isException()
Determine if the incoming entry is an exception.
at line 234
bool
isDump()
Determine if the incoming entry is a dump.
at line 242
bool
isLog()
Determine if the incoming entry is a log entry.
at line 250
bool
isScheduledTask()
Determine if the incoming entry is a scheduled task.
at line 258
bool
isClientRequest()
Determine if the incoming entry is an client request.
at line 266
bool
isReverb()
Determine if the incoming entry is a Reverb entry.
at line 274
string|null
familyHash()
Get the family look-up hash for the incoming entry.
at line 282
array
toArray()
Get an array representation of the entry for storage.