Interface PHPStan\Type\FunctionTypeSpecifyingExtension

This is the interface type-specifying extensions implement for functions.

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

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.typeSpecifier.functionTypeSpecifyingExtension

Learn more: https://phpstan.org/developing-extensions/type-specifying-extensions

Methods