WorkerStateConfigOffsetCollector
class WorkerStateConfigOffsetCollector implements Collector
Collects the assignments and unset() calls that set or unset an offset of the global configuration repository, such as config()['app.locale'] = 'fr', which change it like Repository::set(). Each is read with the scope at the write, wherever it sits, such as inside a return or an arrow function.
Methods
string
getNodeType()
Get the node type the collector inspects.
array|null
processNode(Node $node, Scope $scope)
Collect the node's config offset write.
Details
at line 32
__construct(WorkerStateHelper $helper)
Create a new collector instance.
at line 39
string
getNodeType()
Get the node type the collector inspects.
at line 50
array|null
processNode(Node $node, Scope $scope)
Collect the node's config offset write.