Interface PHPStan\Type\DynamicMethodThrowTypeExtension

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

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

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

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

  • PHPStan\Type\DynamicMethodThrowTypeExtension
    • PHPStan\Type\Php\DateTimeModifyMethodThrowTypeExtension implements DynamicMethodThrowTypeExtension
    • PHPStan\Type\Php\DateTimeSubMethodThrowTypeExtension implements DynamicMethodThrowTypeExtension
    • PHPStan\Type\Php\DsMapDynamicMethodThrowTypeExtension implements DynamicMethodThrowTypeExtension
Methods