Interface PHPStan\Reflection\ExtendedPropertyReflection

extends PropertyReflection

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

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

New methods on ExtendedPropertyReflection will be added in minor versions.

  • PHPStan\Reflection\ExtendedPropertyReflection extends PropertyReflection
    • PHPStan\Reflection\WrappedExtendedPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Dummy\DummyPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Type\IntersectionTypePropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Type\UnionTypePropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Annotations\AnnotationPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Php\SimpleXMLElementProperty implements ExtendedPropertyReflection
    • PHPStan\Reflection\Php\PhpPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Php\EnumPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\Php\UniversalObjectCrateProperty implements ExtendedPropertyReflection
    • PHPStan\Rules\Properties\FoundPropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Type\ObjectShapePropertyReflection implements ExtendedPropertyReflection
    • PHPStan\Reflection\WrapperPropertyReflection extends ExtendedPropertyReflection
      • PHPStan\Reflection\Dummy\ChangedTypePropertyReflection implements WrapperPropertyReflection
      • PHPStan\Reflection\ResolvedPropertyReflection implements WrapperPropertyReflection
Methods inherited from PHPStan\Reflection\PropertyReflection
getReadableType(), getWritableType(), canChangeTypeAfterAssignment(), isReadable(), isWritable(), isDeprecated(), getDeprecatedDescription(), isInternal()
Methods inherited from PHPStan\Reflection\ClassMemberReflection
getDeclaringClass(), isStatic(), isPrivate(), isPublic(), getDocComment()