class SentryConfig

internal  
 

Constants

private BREADCRUMB_DEFAULTS

private TRACING_DEFAULTS

Methods

__construct(Repository $config, string $root)

Create a new Sentry configuration reader.

bool
hasDsnSet()

Determine if a DSN is configured.

bool
hasSpotlightEnabled()

Determine if Spotlight is enabled.

bool
canRecordSpans()

Determine if the SDK can record spans.

bool
canRecordBreadcrumbs()

Determine if the SDK can record breadcrumbs.

array
all()

Retrieve the merged Sentry configuration.

Details

at line 57
__construct(Repository $config, string $root)

Create a new Sentry configuration reader.

Parameters

Repository $config
string $root

at line 66
bool hasDsnSet()

Determine if a DSN is configured.

Return Value

bool

at line 74
bool hasSpotlightEnabled()

Determine if Spotlight is enabled.

Return Value

bool

at line 82
bool canRecordSpans()

Determine if the SDK can record spans.

Return Value

bool

at line 100
bool canRecordBreadcrumbs()

Determine if the SDK can record breadcrumbs.

Return Value

bool

at line 113
array all()

Retrieve the merged Sentry configuration.

Return Value

array