class ConsoleIntegration extends Feature

Constants

private FEATURE_KEY

Methods

__construct(Container $container)

Create a new feature instance.

from  Feature
bool
isApplicable()

Indicate if the feature is applicable to the current environment.

void
register()

Register the feature in the environment.

from  Feature
void
onBoot()

Set up the feature in the environment.

void
onBootInactive()

Set up the feature in the environment in an inactive state (when no DSN was set).

from  Feature
void
boot()

Initialize the feature.

from  Feature
void
bootInactive()

Initialize the feature in an inactive state (when no DSN was set).

from  Feature
array
getUserConfig()

Retrieve the user configuration.

from  Feature
bool
shouldSendDefaultPii()

Determine if default PII should be sent.

from  Feature
bool
isTracingFeatureEnabled(string $feature, bool $default = true)

Indicate if the given feature is enabled for tracing.

from  Feature
bool
isBreadcrumbFeatureEnabled(string $feature, bool $default = true)

Indicate if the given feature is enabled for breadcrumbs.

from  Feature
void
commandStarting(CommandStarting $event)

No description

void
commandFinished(CommandFinished $event)

No description

Details

in Feature at line 33
__construct(Container $container)

Create a new feature instance.

Parameters

Container $container

at line 18
bool isApplicable()

Indicate if the feature is applicable to the current environment.

Return Value

bool

in Feature at line 46
void register()

Register the feature in the environment.

Return Value

void

at line 23
void onBoot()

Set up the feature in the environment.

Return Value

void

in Feature at line 62
void onBootInactive()

Set up the feature in the environment in an inactive state (when no DSN was set).

Return Value

void

in Feature at line 69
void boot()

Initialize the feature.

Return Value

void

in Feature at line 83
void bootInactive()

Initialize the feature in an inactive state (when no DSN was set).

Return Value

void

in Feature at line 97
protected array getUserConfig()

Retrieve the user configuration.

Return Value

array

in Feature at line 105
protected bool shouldSendDefaultPii()

Determine if default PII should be sent.

Return Value

bool

in Feature at line 119
protected bool isTracingFeatureEnabled(string $feature, bool $default = true)

Indicate if the given feature is enabled for tracing.

Parameters

string $feature
bool $default

Return Value

bool

in Feature at line 131
protected bool isBreadcrumbFeatureEnabled(string $feature, bool $default = true)

Indicate if the given feature is enabled for breadcrumbs.

Parameters

string $feature
bool $default

Return Value

bool

at line 31
void commandStarting(CommandStarting $event)

No description

Parameters

CommandStarting $event

Return Value

void

at line 54
void commandFinished(CommandFinished $event)

No description

Parameters

CommandFinished $event

Return Value

void