<outTNodeType is Node, outTValue>
This is the interface custom collectors implement. To register it in the configuration file
use the phpstan.collector
service tag:
services:
-
class: App\MyCollector
tags:
- phpstan.collector
Learn more: https://phpstan.org/developing-extensions/collectors
Methods | ||
---|---|---|
public
|
getNodeType(): class-string<TNodeType>
|
# |
public
|
processNode(TNodeType $node, Scope $scope): TValue|null
|
# |