Base interface for all class members: properties, methods, and constants. Provides common metadata shared by all class members — their declaring class, visibility (public/private/protected), static-ness, and raw PHPDoc comment. This is the parent interface for PropertyReflection, MethodReflection, and (via ConstantReflection) ClassConstantReflection. Extension developers typically work with the more specific child interfaces.
| Methods | ||
|---|---|---|
public
|
getDeclaringClass(): ClassReflection
|
# |
public
|
isStatic(): bool
|
# |
public
|
isPrivate(): bool
|
# |
public
|
isPublic(): bool
|
# |
public
|
getDocComment(): ?string
|
# |