@internal似乎没有工作

时间:2014-02-19 05:41:14

标签: phpdoc

<?php
/**
 * test script - short description
 *
 * long description
 *
 * PHP version 5
 *
 * {@internal this is a test of a multi line internal note
 * another test}}}
 */
class test {}

http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.internal.pkg.html的示例有一个开头{和三个关闭}。当我尝试使用phpdoc -d . -t output生成文档时,我得到了这个:

enter image description here

我不知道应该看到什么,但看起来它还没有被解析/被忽略。

当我尝试单次关闭时}我得到相同的未解析/忽略的外观。

有什么想法吗?

1 个答案:

答案 0 :(得分:2)

使用大括号的语法只是将标记嵌入到更大的描述中。由于您的使用方式与独立标记一样,因此您不需要任何大括号。