如何使用phpDocumentor将类返回值链接到外部API文档站点?

时间:2015-08-28 23:05:18

标签: php phpdoc phpdocumentor2

使用phpDocumentor生成文档时,如果是@param,则@return值是项目中的类,如:

@return My\Awesome\Class

phpdoc会自动将My \ Awesome \ Class链接到该类的文档。我试图弄清楚是否有办法将其链接到供应商类的文档,即make:

@return \Doctrine\Collection\Collections\ArrayCollection

链接到http://www.doctrine-project.org/api/common/2.5/class-Doctrine.Common.Collections.ArrayCollection.html。我能够弄清楚的最接近的解决方案是让phpdoc为所有供应商库生成文档,这似乎不太理想。

0 个答案:

没有答案
相关问题