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

__construct(array $content, string|null $uuid = null)

Create a new incoming entry instance.

static IncomingEntry
make(mixed ...$arguments)

Create a new entry instance.

batchId(string $batchId)

Assign the entry a given batch ID.

type(string $type)

Assign the entry a given type.

withFamilyHash(string|null $familyHash)

Assign the entry a family hash.

user(Authenticatable $user)

Set the currently authenticated user.

tags(array $tags)

Merge tags into the entry's existing tags.

bool
hasMonitoredTag()

Determine if the incoming entry has a monitored tag.

bool
isRequest()

Determine if the incoming entry is a request.

bool
isFailedRequest()

Determine if the incoming entry is a failed request.

bool
isQuery()

Determine if the incoming entry is a query.

bool
isSlowQuery()

Determine if the incoming entry is a slow query.

bool
isEvent()

Determine if the incoming entry is a event entry.

bool
isCache()

Determine if the incoming entry is a cache entry.

bool
isGate()

Determine if the incoming entry is an authorization gate check.

bool
isFailedJob()

Determine if the incoming entry is a failed job.

bool
isReportableException()

Determine if the incoming entry is a reportable exception.

bool
isException()

Determine if the incoming entry is an exception.

bool
isDump()

Determine if the incoming entry is a dump.

bool
isLog()

Determine if the incoming entry is a log entry.

bool
isScheduledTask()

Determine if the incoming entry is a scheduled task.

bool
isClientRequest()

Determine if the incoming entry is an client request.

bool
isReverb()

Determine if the incoming entry is a Reverb entry.

string|null
familyHash()

Get the family look-up hash for the incoming entry.

array
toArray()

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.

Parameters

array $content
string|null $uuid

at line 72
static IncomingEntry make(mixed ...$arguments)

Create a new entry instance.

Parameters

mixed ...$arguments

Return Value

IncomingEntry

at line 80
IncomingEntry batchId(string $batchId)

Assign the entry a given batch ID.

Parameters

string $batchId

Return Value

IncomingEntry

at line 90
IncomingEntry type(string $type)

Assign the entry a given type.

Parameters

string $type

Return Value

IncomingEntry

at line 100
IncomingEntry withFamilyHash(string|null $familyHash)

Assign the entry a family hash.

Parameters

string|null $familyHash

Return Value

IncomingEntry

at line 110
IncomingEntry user(Authenticatable $user)

Set the currently authenticated user.

Parameters

Authenticatable $user

Return Value

IncomingEntry

at line 130
IncomingEntry tags(array $tags)

Merge tags into the entry's existing tags.

Parameters

array $tags

Return Value

IncomingEntry

at line 140
bool hasMonitoredTag()

Determine if the incoming entry has a monitored tag.

Return Value

bool

at line 154
bool isRequest()

Determine if the incoming entry is a request.

Return Value

bool

at line 162
bool isFailedRequest()

Determine if the incoming entry is a failed request.

Return Value

bool

at line 171
bool isQuery()

Determine if the incoming entry is a query.

Return Value

bool

at line 179
bool isSlowQuery()

Determine if the incoming entry is a slow query.

Return Value

bool

at line 187
bool isEvent()

Determine if the incoming entry is a event entry.

Return Value

bool

at line 195
bool isCache()

Determine if the incoming entry is a cache entry.

Return Value

bool

at line 203
bool isGate()

Determine if the incoming entry is an authorization gate check.

Return Value

bool

at line 211
bool isFailedJob()

Determine if the incoming entry is a failed job.

Return Value

bool

at line 220
bool isReportableException()

Determine if the incoming entry is a reportable exception.

Return Value

bool

at line 228
bool isException()

Determine if the incoming entry is an exception.

Return Value

bool

at line 236
bool isDump()

Determine if the incoming entry is a dump.

Return Value

bool

at line 244
bool isLog()

Determine if the incoming entry is a log entry.

Return Value

bool

at line 252
bool isScheduledTask()

Determine if the incoming entry is a scheduled task.

Return Value

bool

at line 260
bool isClientRequest()

Determine if the incoming entry is an client request.

Return Value

bool

at line 268
bool isReverb()

Determine if the incoming entry is a Reverb entry.

Return Value

bool

at line 276
string|null familyHash()

Get the family look-up hash for the incoming entry.

Return Value

string|null

at line 284
array toArray()

Get an array representation of the entry for storage.

Return Value

array