class SocialitePropertyRule implements Rule

internal  
 

Reports a Socialite provider subclass using a property that holds only the provider's default.

Providers are cached for the worker, so each request's value lives in the provider's coroutine context, which the framework's getter reads before falling back to the property.

Constants

private PROPERTIES

The context-backed properties, each with the framework class whose getter reads it and the methods that read and set the request's value.

Methods

string
getNodeType()

Get the node type the rule checks.

array
processNode(Node $node, Scope $scope)

Report a subclass reading or writing a context-backed property directly.

Details

at line 60
string getNodeType()

Get the node type the rule checks.

Return Value

string

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

Report a subclass reading or writing a context-backed property directly.

Parameters

Node $node
Scope $scope

Return Value

array