【发布时间】:2014-07-07 09:46:03
【问题描述】:
我想用 PhpDocumtor 为我的代码创建文档
但我不知道 PhpDoc 中的 PhpDocumtor 要求标签
我的代码中应插入哪些标签?
我使用了以下标签:
@var
@return
【问题讨论】:
我想用 PhpDocumtor 为我的代码创建文档
但我不知道 PhpDoc 中的 PhpDocumtor 要求标签
我的代码中应插入哪些标签?
我使用了以下标签:
@var
@return
【问题讨论】:
所有关于 PhpDoc 的文档都在这里:http://phpdoc.org/docs/latest/index.html
标签位于左侧。 使用示例。
/**
* Title text.
*
* Description text.
*
* @param string $arg Description.
* @return array The description for return.
*/
function somefn($arg){
return (array) $arg;
}
【讨论】: