trait ResolvesEventOrigin

Methods

container()

Retrieve the application container.

array|null
resolveEventOrigin(array|null $backtrace = null)

Resolve the code location of the first application frame of the event.

string|null
resolveEventOriginAsString()

Resolve the code location of the event as a "file:line" string.

Details

at line 15
protected Container container()

Retrieve the application container.

Return Value

Container

at line 25
protected array|null resolveEventOrigin(array|null $backtrace = null)

Resolve the code location of the first application frame of the event.

Parameters

array|null $backtrace

a backtrace captured earlier, for an event whose origin is no longer on the stack

Return Value

array|null

at line 52
protected string|null resolveEventOriginAsString()

Resolve the code location of the event as a "file:line" string.

Return Value

string|null