Interface PHPStan\Type\FunctionParameterClosureThisExtension

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

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

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