使用PhpDocumentor为代码创建文档
我想用phpDocument为我的代码创建文档使用PhpDocumentor为代码创建文档,php,phpdoc,Php,Phpdoc,我想用phpDocument为我的代码创建文档 但是我不知道PhpDoc中的phpdocumentor需求标签 我的代码中应该插入哪些标签? 我使用了以下标签: @var @return 关于PhpDoc的所有文档都在这里: 标签在左边。 例如使用 /** * Title text. * * Description text. * * @param string $arg Description. * @return array The description for retu
但是我不知道PhpDoc中的phpdocumentor需求标签
我的代码中应该插入哪些标签?
我使用了以下标签:
@var
@return
关于PhpDoc的所有文档都在这里: 标签在左边。 例如使用
/**
* Title text.
*
* Description text.
*
* @param string $arg Description.
* @return array The description for return.
*/
function somefn($arg){
return (array) $arg;
}