Doctrine\Common\Reflection\StaticReflectionProperty
Synopsis
class StaticReflectionProperty
extends ReflectionProperty
{
- // Inherited constants from ReflectionProperty
- const IS_STATIC = 1;
- const IS_PUBLIC = 256;
- const IS_PROTECTED = 512;
- const IS_PRIVATE = 1024;
- // members
- protected StaticReflectionParser $staticReflectionParser;
- protected string $propertyName;
- // methods
- public void __construct()
- public void getName()
- protected void getStaticReflectionParser()
- public void getDeclaringClass()
- public void getDocComment()
- public void getUseStatements()
- public static void export()
- public void getModifiers()
- public void getValue()
- public void isDefault()
- public void isPrivate()
- public void isProtected()
- public void isPublic()
- public void isStatic()
- public void setAccessible()
- public void setValue()
- public void __toString()
- // Inherited methods from ReflectionProperty
- public void __construct()
- public string export()
- public ReflectionClass getDeclaringClass()
- public string getDocComment()
- public int getModifiers()
- public string getName()
- public mixed getValue()
- public bool isDefault()
- public bool isPrivate()
- public bool isProtected()
- public bool isPublic()
- public bool isStatic()
- public void setAccessible()
- public void setValue()
- public string __toString()
Hierarchy
Extends
Constants
Name | Value |
---|---|
IS_STATIC | 1 |
IS_PUBLIC | 256 |
IS_PROTECTED | 512 |
IS_PRIVATE | 1024 |
Members
protected
- $propertyName
—
string
The name of the property. - $staticReflectionParser
—
Doctrine\Common\Reflection\StaticReflectionParser
The PSR-0 parser object.
public
-
$class
Name of the class where the property is defined. Read-only, throws ReflectionException in attempt to write. -
$name
Name of the property. Read-only, throws ReflectionException in attempt to write.
Methods
protected
public
- __construct()
- __toString()
- export()
- getDeclaringClass()
- getDocComment()
- getModifiers()
- getName()
- getUseStatements()
- getValue()
- isDefault()
- isPrivate()
- isProtected()
- isPublic()
- isStatic()
- setAccessible()
- setValue()
Inherited from ReflectionProperty
public
- __toString() — To string
- export() — Export
- getDeclaringClass() — Gets declaring class
- getDocComment() — Gets doc comment
- getModifiers() — Gets modifiers
- getName() — Gets property name
- getValue() — Gets value
- isDefault() — Checks if default value
- isPrivate() — Checks if property is private
- isProtected() — Checks if property is protected
- isPublic() — Checks if property is public
- isStatic() — Checks if property is static
- setAccessible() — Set property accessibility
- setValue() — Set property value