swoft icon indicating copy to clipboard operation
swoft copied to clipboard

Entity Model Namespace 使用下底線,出現 entity is not defined or empty

Open 5SMNOONMS5 opened this issue 4 years ago • 1 comments

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

5SMNOONMS5 avatar Apr 30 '20 10:04 5SMNOONMS5

Please name it with hump

sakuraovq avatar Sep 13 '20 06:09 sakuraovq