extends |
PropertyReflection |
|---|
Extended property reflection with additional metadata beyond PropertyReflection. This interface exists to allow PHPStan to add new property query methods in minor versions without breaking existing PropertiesClassReflectionExtension implementations. Extension developers should implement PropertyReflection, not this interface — PHPStan wraps PropertyReflection implementations to provide ExtendedPropertyReflection. Provides access to:
| Methods | ||
|---|---|---|
public
|
getName(): string
|
# |
public
|
hasPhpDocType(): bool
|
# |
public
|
getPhpDocType(): Type
|
# |
public
|
hasNativeType(): bool
|
# |
public
|
getNativeType(): Type
|
# |
public
|
isAbstract(): TrinaryLogic
|
# |
public
|
isFinalByKeyword(): TrinaryLogic
|
# |
public
|
isFinal(): TrinaryLogic
|
# |
public
|
isVirtual(): TrinaryLogic
|
# |
public
|
hasHook(self::HOOK_* $hookType): bool
|
# |
public
|
getHook(self::HOOK_* $hookType): ExtendedMethodReflection
|
# |
public
|
isProtectedSet(): bool
|
# |
public
|
isPrivateSet(): bool
|
# |
public
|
getAttributes(): list<AttributeReflection>
|
# |
public
|
isDummy(): TrinaryLogic
|
# |
| Methods inherited from PHPStan\Reflection\ClassMemberReflection |
|---|
getDeclaringClass(), isStatic(), isPrivate(), isPublic(), getDocComment() |