class BacktraceHelper

internal  
 

Methods

__construct(Options $options, RepresentationSerializerInterface $representationSerializer)

Create a new backtrace helper instance.

Frame|null
findFirstInAppFrameForBacktrace(array $backtrace)

Find the first in app frame for a given backtrace.

string|null
getOriginalViewPathForFrameOfCompiledViewPath(Frame $frame)

Take a frame and, if it's a compiled view path, return the original view path.

Details

at line 34
__construct(Options $options, RepresentationSerializerInterface $representationSerializer)

Create a new backtrace helper instance.

Parameters

Options $options

The SDK client options

RepresentationSerializerInterface $representationSerializer

The representation serializer

at line 50
Frame|null findFirstInAppFrameForBacktrace(array $backtrace)

Find the first in app frame for a given backtrace.

Parameters

array $backtrace

The backtrace

Return Value

Frame|null

at line 72
string|null getOriginalViewPathForFrameOfCompiledViewPath(Frame $frame)

Take a frame and, if it's a compiled view path, return the original view path.

Parameters

Frame $frame

Return Value

string|null