mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
new ReflectionProperty::getDocComment() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185116 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b508d9da17
commit
fce688113c
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<sect1 id="language.oop5.reflection">
|
||||
<title>Reflection</title>
|
||||
<sect2 id="language.oop5.reflection.introduction">
|
||||
|
@ -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()
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
<note>
|
||||
<simpara>
|
||||
<function>getDocComment</function> was added in PHP 5.1.0.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
To introspect a property, you will first have to create an instance
|
||||
of the <classname>ReflectionProperty</classname> class. You can then
|
||||
|
|
Loading…
Reference in a new issue