class WorkerStateWriteCollector implements Collector

Collects the property writes the worker-state checks may report: writes that keep request or operation state, request-keyed cache entries, and writes in methods that may run while handling a request or job.

Only static properties and properties of $this count: any other object's lifetime is unknown.

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 write's property, function and value facts.

Details

at line 44
__construct(WorkerStateHelper $helper)

Create a new collector instance.

Parameters

WorkerStateHelper $helper

at line 51
string getNodeType()

Get the node type the collector inspects.

Return Value

string

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

Collect the write's property, function and value facts.

Parameters

Node $node
Scope $scope

Return Value

array|null