Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用PhpDocumentor为代码创建文档_Php_Phpdoc - Fatal编程技术网

使用PhpDocumentor为代码创建文档

使用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

我想用phpDocument为我的代码创建文档
但是我不知道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;
}