Interface PHPStan\Type\DynamicFunctionThrowTypeExtension

This is the interface dynamic throw type extensions implement for functions.

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

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

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

  • PHPStan\Type\DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\IntdivThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\JsonThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\StrSplitFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\ArrayCombineFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\MinMaxFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\VersionCompareFunctionDynamicThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\GetClassFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\FilterFunctionsThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\AssertThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\UnserializeFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\RoundFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\PrintfFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\ArrayChunkFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
    • PHPStan\Type\Php\TriggerErrorFunctionThrowTypeExtension implements DynamicFunctionThrowTypeExtension
Methods