This is the interface type-specifying extensions implement for non-static methods.
To register it in the configuration file use the phpstan.typeSpecifier.methodTypeSpecifyingExtension service tag:
services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.typeSpecifier.methodTypeSpecifyingExtension
Learn more: https://phpstan.org/developing-extensions/type-specifying-extensions
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | getClass(): class-string | # | 
| 
					
	public
					
					
				 | isMethodSupported(MethodReflection $methodReflection, MethodCall $node, TypeSpecifierContext $context): bool | # | 
| 
					
	public
					
					
				 | specifyTypes(
	MethodReflection $methodReflection,
	MethodCall $node,
	Scope $scope,
	TypeSpecifierContext $context,
): SpecifiedTypes | # |