Interface PHPStan\Reflection\ExtendedMethodReflection

extends MethodReflection

The purpose of this interface is to be able to answer more questions about methods without breaking backward compatibility with existing MethodsClassReflectionExtension.

Developers are meant to only implement MethodReflection and its methods in their code.

New methods on ExtendedMethodReflection will be added in minor versions.

  • PHPStan\Reflection\ExtendedMethodReflection extends MethodReflection
    • PHPStan\Reflection\Type\IntersectionTypeMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Type\UnionTypeMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\ResolvedMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Dummy\DummyMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Dummy\DummyConstructorReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Dummy\ChangedTypeMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Php\EnumCasesMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Php\PhpMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Php\ClosureCallMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Native\NativeMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\WrappedExtendedMethodReflection implements ExtendedMethodReflection
    • PHPStan\Reflection\Annotations\AnnotationMethodReflection implements ExtendedMethodReflection
Methods
Methods inherited from PHPStan\Reflection\MethodReflection
getName(), getPrototype(), isDeprecated(), getDeprecatedDescription(), isFinal(), isInternal(), getThrowType(), hasSideEffects()
Methods inherited from PHPStan\Reflection\ClassMemberReflection
getDeclaringClass(), isStatic(), isPrivate(), isPublic(), getDocComment()