Interface PHPStan\Type\StaticMethodParameterClosureThisExtension

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

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

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