Interface PHPStan\Type\MethodParameterClosureThisExtension

This is the interface for dynamically specifying the $this context for closure parameters in method calls.

To register it in the configuration file use the phpstan.methodParameterClosureThisExtension service tag:

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.methodParameterClosureThisExtension
Methods