class RestrictedAttributeRule implements Rule

internal  
 

Reports boot-time and test-only markers whose conditions would silently disable or misstate the restriction RestrictedCallRule enforces.

Methods

__construct(WorkerStateHelper $helper)

Create a new restricted attribute rule instance.

string
getNodeType()

Get the node type the rule inspects.

array
processNode(Node $node, Scope $scope)

Report the method's malformed lifetime marker.

Details

at line 36
__construct(WorkerStateHelper $helper)

Create a new restricted attribute rule instance.

Parameters

WorkerStateHelper $helper

at line 44
string getNodeType()

Get the node type the rule inspects.

Return Value

string

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

Report the method's malformed lifetime marker.

Parameters

Node $node
Scope $scope

Return Value

array