diff --git a/language/oop5/reflection.xml b/language/oop5/reflection.xml index 79743f5178..61571887a0 100644 --- a/language/oop5/reflection.xml +++ b/language/oop5/reflection.xml @@ -1,5 +1,5 @@ - + Reflection @@ -619,11 +619,17 @@ class ReflectionProperty implements Reflector public mixed getValue(stdclass object) public void setValue(stdclass object, mixed value) public ReflectionClass getDeclaringClass() + public string getDocComment() } ?> ]]> + + + getDocComment was added in PHP 5.1.0. + + To introspect a property, you will first have to create an instance of the ReflectionProperty class. You can then