RestrictedCallCollector
class RestrictedCallCollector implements Collector
| internal |
Collects the calls to methods marked as boot-time or test-only, with the receiver evidence a worker-shared restriction needs. The rule judges them by the operation the call runs in.
Methods
__construct(ReflectionProvider $reflectionProvider, WorkerStateHelper $helper, FacadeHelper $facadeHelper)
Create a new collector instance.
string
getNodeType()
Get the node type the collector inspects.
array|null
processNode(Node $node, Scope $scope)
Collect each restricted method the call runs whose restriction may apply.
Details
at line 56
__construct(ReflectionProvider $reflectionProvider, WorkerStateHelper $helper, FacadeHelper $facadeHelper)
Create a new collector instance.
at line 66
string
getNodeType()
Get the node type the collector inspects.
at line 79
array|null
processNode(Node $node, Scope $scope)
Collect each restricted method the call runs whose restriction may apply.