Interface PHPStan\Type\MethodTypeSpecifyingExtension

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

  • PHPStan\Type\MethodTypeSpecifyingExtension
    • PHPStan\Type\Php\ReflectionClassIsSubclassOfTypeSpecifyingExtension implements MethodTypeSpecifyingExtension, TypeSpecifierAwareExtension
Methods
OSZAR »