我正在使用phpDocumentor2为我的代码编译文档。包含“抛出”和“使用”的DocBlocks并不完全像我所期望的那样编译。
具体来说,FQSEN没有在文档输出中呈现。
,例如
/**
* Constructs the object and loads data.
*
* This constructor invokes the gatherData and populates the object's instance variables.
*
* @uses gatherData() to load in the data associated with this object.
* @uses load() to populate the data gathered.
*/产生..。

注意,输出中没有出现"gatherData()“和"load()”方法名。然而,他们的描述确实如此。
我也看到了类似的“抛出标签”的效果。
这是预期的行为吗?我是不是误用了标签?
发布于 2013-07-06 17:02:34
如果这些是某个类的方法,您应该将它们指定如下
@uses SomeClass::gatherData() to load in the data associated with this object.原始phpdocumentor不支持名称空间,您可能需要切换到phpdocumentor2版本。
https://stackoverflow.com/questions/17504923
复制相似问题