|
The ReflectionProperty classIntroductionThe ReflectionProperty class reports information about class properties. Class synopsis
ReflectionProperty
implements
Reflector
/* Constants */
public
const
int
ReflectionProperty::IS_STATIC;
public
const
int
ReflectionProperty::IS_READONLY;
public
const
int
ReflectionProperty::IS_PUBLIC;
public
const
int
ReflectionProperty::IS_PROTECTED;
public
const
int
ReflectionProperty::IS_PRIVATE;
public
const
int
ReflectionProperty::IS_ABSTRACT;
public
const
int
ReflectionProperty::IS_PROTECTED_SET;
public
const
int
ReflectionProperty::IS_PRIVATE_SET;
public
const
int
ReflectionProperty::IS_VIRTUAL;
public
const
int
ReflectionProperty::IS_FINAL;
/* Properties */
public
string
$name;
public
string
$class;
/* Methods */
public __construct(objectstring
$class , string $property )private void __clone()
public static string export(mixed
$class , string $name , bool $return = ?)public array getAttributes(stringnull
$name = null , int $flags = 0)public ReflectionClass getDeclaringClass()
public mixed getDefaultValue()
public stringfalse getDocComment()
public ReflectionMethodnull getHook(PropertyHookType
$type )public array getHooks()
public int getModifiers()
public string getName()
public mixed getRawValue(object
$object )public ReflectionTypenull getSettableType()
public ReflectionTypenull getType()
public mixed getValue(objectnull
$object = null )public bool hasDefaultValue()
public bool hasHook(PropertyHookType
$type )public bool hasHooks()
public bool hasType()
public bool isAbstract()
public bool isDefault()
public bool isDynamic()
public bool isFinal()
public bool isInitialized(objectnull
$object = null )public bool isLazy(object
$object )public bool isPrivate()
public bool isPrivateSet()
public bool isPromoted()
public bool isProtected()
public bool isProtectedSet()
public bool isPublic()
public bool isReadOnly()
public bool isStatic()
public bool isVirtual()
public void setAccessible(bool
$accessible )public void setRawValue(object
$object , mixed $value )public void setRawValueWithoutLazyInitialization(object
$object , mixed $value )public void setValue(objectnull
$object , mixed $value )public void skipLazyInitialization(object
$object )public string __toString()
Properties
Predefined ConstantsReflectionProperty Modifiers
Changelog
|