我正在使用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 {
}
我想念什么吗?
答案 0 :(得分:1)
您拥有的一个文档块应向下移动到class
行的上方。它的当前位置被解释为文件级docblock,而不是类级docblock。
这样做之后,您可能开始看到有关文件级docblock丢失的警告。只需在与当前示例相同的位置添加一个新的文档块。您可以使用已经存在的副本的精确副本,因为它的内容似乎适合该文件以及该类。