Interface PHPStan\Type\FunctionParameterOutTypeExtension

This is the interface dynamic parameter out type extensions implement for functions.

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

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.functionParameterOutTypeExtension
  • PHPStan\Type\FunctionParameterOutTypeExtension
    • PHPStan\Type\Php\PregMatchParameterOutTypeExtension implements FunctionParameterOutTypeExtension
Methods