Interface PHPStan\Reflection\MethodsClassReflectionExtension

This is the interface custom methods class reflection extensions implement.

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

services:
	-
		class: App\PHPStan\MyMethodsClassReflectionExtension
		tags:
			- phpstan.broker.methodsClassReflectionExtension

Learn more: https://phpstan.org/developing-extensions/class-reflection-extensions

  • PHPStan\Reflection\MethodsClassReflectionExtension
    • PHPStan\Reflection\Annotations\AnnotationsMethodsClassReflectionExtension implements MethodsClassReflectionExtension
    • PHPStan\Reflection\Php\PhpClassReflectionExtension implements PropertiesClassReflectionExtension, MethodsClassReflectionExtension
    • PHPStan\Reflection\Php\Soap\SoapClientMethodsClassReflectionExtension implements MethodsClassReflectionExtension
    • PHPStan\Reflection\Mixin\MixinMethodsClassReflectionExtension implements MethodsClassReflectionExtension
    • PHPStan\Reflection\RequireExtension\RequireExtendsMethodsClassReflectionExtension implements MethodsClassReflectionExtension
Methods