swoft
swoft copied to clipboard
Entity Model Namespace 使用下底線,出現 entity is not defined or empty
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
Swoft version | v2.0.9 |
Swoole version | 4.4.15 |
PHP version | 7.3 |
Runtime environment | Mac |
Details
當我修正 Model entity 包含下底線的時候
namespace App\Model\Entity\v1_5;
會錯誤訊息
The pool of `App\\Model\\Entity\\v1` entity is not defined or empty
Please name it with hump