首页 文章

PHPDocumenter没有关于类的摘要

提问于
浏览
0

我正在使用PHPDocuementer,我继续为我的类获取这些消息:

Parsing /code/vendor/prodigyview/helium/app.class.php
  No summary for class \prodigyview\helium\He2App

但是当代码如下:

<?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 {

}

我错过了什么吗?

1 回答

  • 0

    您应该将一个docblock移到 class 行的正上方 . 它的当前位置被解释为文件级docblock而不是类级docblock .

    执行此操作后,您可能会开始看到有关文件级docblock丢失的警告 . 只需在当前示例中添加一个新的docblock即可 . 你可以使用你已经拥有的那个的精确副本,因为它的内容似乎适合文件和类 .

相关问题