首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PHPDocumenter没有类摘要

PHPDocumenter没有类摘要
EN

Stack Overflow用户
提问于 2018-12-08 19:47:28
回答 1查看 302关注 0票数 0

我正在使用PHPDocuementer,我一直在为我的类获取以下消息:

代码语言:javascript
复制
Parsing /code/vendor/prodigyview/helium/app.class.php
  No summary for class \prodigyview\helium\He2App

但是,当代码如下:

代码语言:javascript
复制
<?php
/**
 * The main application for instantiaing the He2MVC Framework and bringing together the parts required for the system to work.
 * 
 * The application is what is called with Helium is first initiliaed in the frontend controller. It will autoload the components,
 * set the registry and then send the application into the router. The boostrap of the framework should be called sometime during
 * this point.
 * 
 * @package prodigyview\helium
 */
namespace prodigyview\helium;

class He2App extends \PVStaticInstance {

}

我是不是遗漏了什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-12-10 22:25:33

您拥有的一个docblock应该向下移动到class行的上方。它的当前位置被解释为文件级文档块,而不是类级文档块。

完成此操作后,您可能会看到有关文件级文档块丢失的警告。只需在与当前示例相同的位置添加一个新的docblock即可。您可以使用您已经拥有的文件的确切副本,因为它的内容似乎适合文件和类。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53686327

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档