<out TNodeType is Node, out TValue>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
| Methods | ||
|---|---|---|
public
|
getNodeType(): class-string<TNodeType>
|
# |
public
|
processNode(TNodeType $node, Scope $scope): TValue|null
|
# |