开发者

doctrine cant find my BaseModels in the models/generated folder

开发者 https://www.devze.com 2022-12-27 23:58 出处:网络
when i use a Doctrine Model Doctrine cant find the BaseModel in the models/generated folder. what should i put in the Doctrine bootstrap file to tell it they are in the models/generated folder?

when i use a Doctrine Model Doctrine cant find the BaseModel in the models/generated folder.

what should i put in the Doctrine bootstrap file to tell it they are in the models/generated folder?

thank开发者_如何转开发s!


The following line in my bootstrap file resolved this issue for me:

Doctrine_Core::loadModels('path/to/models/generated');
0

精彩评论

暂无评论...
验证码 换一张
取 消