如何记录phpDoc的类常量?我已经阅读了手册,但我找不到任何关于它们的信息.
我在Fargate任务定义中有2个容器.其中一个容器是数据库服务器.我想要保留数据目录.但是,在任务定义中设置卷时,Fargate不支持"源路径"字段.有谁知道在Fargate建立持久性的人?
我们如何在PHP中使用define()定义(使用phpDocumentor)常量?
我在文档中找不到任何内容,但在sample2.php中找到了以下示例(我没看到它的用法):
/**#@+
* Constants
*/
/**
* first constant
*/
define('testing', 6);
/**
* second constant
*/
define('anotherconstant', strlen('hello'));
Run Code Online (Sandbox Code Playgroud)
任何人都可以告诉我用phpDocumentor在PHP中记录常量的最佳方法是什么?