Interface PHPStan\Type\DynamicStaticMethodThrowTypeExtension

This is the interface dynamic throw type extensions implement for static methods.

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

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.dynamicStaticMethodThrowTypeExtension

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

  • PHPStan\Type\DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\SimpleXMLElementConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\ReflectionPropertyConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\DateIntervalConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\ReflectionFunctionConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\DateTimeConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\DateTimeZoneConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\ReflectionMethodConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
    • PHPStan\Type\Php\ReflectionClassConstructorThrowTypeExtension implements DynamicStaticMethodThrowTypeExtension
Methods