我想知道是否可以使用 phpDocumentor 从方法内部获取注释行。我不仅在方法块中注释,而且在它自身的方法内部也有很多注释。
class Test {
/**
* Methdo to test if i get all the text back.
*
* @return void
*/
public method getCommentFromMethod () {
# Do something
$test = time();
// dont forget to get this text to
echo 'get the above comment';
# How can i get this text also to phpDocumentor
}
}