class BacktraceHelper

internal  
 

Methods

__construct(Options $options, RepresentationSerializerInterface $representationSerializer)

Constructor.

Frame|null
findFirstInAppFrameForBacktrace(array $backtrace)

Find the first in app frame for a given backtrace.

string|null
getOriginalViewPathForFrameOfCompiledViewPath(Frame $frame)

Takes a frame and if it's a compiled view path returns the original view path.

Details

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

Constructor.

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)

Takes a frame and if it's a compiled view path returns the original view path.

Parameters

Frame $frame

Return Value

string|null