【问题标题】:Create document for codes with PhpDocumentor使用 PhpDocumentor 为代码创建文档
【发布时间】:2014-07-07 09:46:03
【问题描述】:

我想用 PhpDocumtor 为我的代码创建文档
但我不知道 PhpDoc 中的 PhpDocumtor 要求标签
我的代码中应插入哪些标签?
我使用了以下标签:

@var
@return

【问题讨论】:

    标签: php phpdoc


    【解决方案1】:

    所有关于 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;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-16
      • 1970-01-01
      • 1970-01-01
      • 2014-03-04
      • 2018-01-18
      • 1970-01-01
      • 2013-07-12
      • 2011-11-07
      相关资源
      最近更新 更多