|
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 int getModifiers()
public string getName()
public ReflectionTypenull getType()
public mixed getValue(objectnull
$object = null )public bool hasDefaultValue()
public bool hasType()
public bool isDefault()
public bool isInitialized(objectnull
$object = null )public bool isLazy(object
$object )public bool isPrivate()
public bool isPromoted()
public bool isProtected()
public bool isPublic()
public bool isReadOnly()
public bool isStatic()
public void setAccessible(bool
$accessible )public void setRawValueWithoutLazyInitialization(object
$object , mixed $value )public void setValue(object
$object , mixed $value )public void skipLazyInitialization(object
$object )public string __toString()
Properties
Predefined ConstantsReflectionProperty Modifiers
Changelog
|