class SwallowedCancellationRule implements Rule

internal  
 

Reports a catch that swallows the cancellation of an operation in code that runs while handling a request, job or operation, so the canceled work carries on.

Methods

__construct(WorkerStateHelper $helper)

Create a new swallowed cancellation rule instance.

string
getNodeType()

Get the node type the rule inspects.

array
processNode(Node $node, Scope $scope)

Report the collected catches that run in a request, job or operation.

Details

at line 34
__construct(WorkerStateHelper $helper)

Create a new swallowed cancellation rule instance.

Parameters

WorkerStateHelper $helper

at line 42
string getNodeType()

Get the node type the rule inspects.

Return Value

string

at line 55
array processNode(Node $node, Scope $scope)

Report the collected catches that run in a request, job or operation.

Parameters

Node $node
Scope $scope

Return Value

array