class WorkerStateParameterCollector implements Collector

Collects the reassigned parameters whose injected values the worker-state checks rely on: a constructor's request or operation state, a configuration repository, and, for restricted calls, any method parameter that may hold an object.

Methods

__construct(WorkerStateHelper $helper)

Create a new collector instance.

string
getNodeType()

Get the node type the collector inspects.

array|null
processNode(Node $node, Scope $scope)

Collect the parameter the node reassigns.

Details

at line 36
__construct(WorkerStateHelper $helper)

Create a new collector instance.

Parameters

WorkerStateHelper $helper

at line 43
string getNodeType()

Get the node type the collector inspects.

Return Value

string

at line 56
array|null processNode(Node $node, Scope $scope)

Collect the parameter the node reassigns.

Parameters

Node $node
Scope $scope

Return Value

array|null