我正在尝试记录示例文件:
/**
* ElasticSearch Library
*
* Intended to do some cool stuff
*
*
* @author cmvr
* @subpackage elasticSearch
* @copyright free to use
* @license http://www.gnu.org/copyleft/gpl.html Freely available under GPL
*/
namespace Libs;
/**
* This is the main class of elastic search
*/
class elasticSearch {
protected $dataConnection;
/**
* elastic search setup data connection
* @return boolean
*/
public function setupDataConnection($dataString) {
return true;
}
}
我在CLI中运行:
phpdoc -f ../../app/libraries/elasticSearch.php -t ../../newDocs
它工作正常,但是当我在这里查看我的html输出时:
newDocs/files/elasticSearch.html
根本没有记录类和方法setupDataConnection。
这是我看到的屏幕:
任何人都可以解释我做错了什么吗?