(PHP 5 >= 5.1.0)
ReflectionClass::getDocComment — دریافت توضیحات doc
دریافت توضیحات doc کلاس.
This function is currently not documented; only its argument list is available.
This function has no parameters.
دریافت توضیحات اگر وجود داشته باشند در غیر این صورت FALSE
Example #1 مثال ReflectionClass::getDocComment()
<?php
/**
* A test class
*
* @param foo bar
* @return baz
*/
class TestClass { }
$rc = new ReflectionClass('TestClass');
var_dump($rc->getDocComment())
?>
The above example will output:
string(55) "/** * A test class * * @param foo bar * @return baz */"