ElementPropertyReflection
ElementPropertyReflection
Property reflection model for dynamic XML Element properties.
class ElementPropertyReflection implements \Hazaar\XML\PHPStan\PropertyReflectionThis reflection implementation describes synthetic/dynamic properties exposed by Hazaar\XML\Element objects for PHPStan analysis. It reports visibility, readability/writability, and type information used by the static analyzer when resolving dynamic property access.
Properties
declaringClass
Class reflection that owns the synthetic property.
private ClassReflection $declaringClassMethods
__construct
Create a new synthetic property reflection.
public __construct(ClassReflection $declaringClass): voidParameters
| Parameter | Type | Description |
|---|---|---|
$declaringClass | ClassReflection | declaring class reflection |
getDeclaringClass
Get the class reflection declaring this property.
public getDeclaringClass(): ClassReflectionisStatic
Determine whether the synthetic property is static.
public isStatic(): boolisPrivate
Determine whether the synthetic property is private.
public isPrivate(): boolisPublic
Determine whether the synthetic property is public.
public isPublic(): boolgetDocComment
Get the property doc comment, if any.
public getDocComment(): ?stringgetReadableType
Get the readable type for the synthetic property.
public getReadableType(): TypegetWritableType
public getWritableType(): TypecanChangeTypeAfterAssignment
public canChangeTypeAfterAssignment(): boolisReadable
public isReadable(): boolisWritable
public isWritable(): boolisDeprecated
public isDeprecated(): TrinaryLogicgetDeprecatedDescription
public getDeprecatedDescription(): ?stringisInternal
public isInternal(): TrinaryLogicGenerated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000