Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不时更改 schema.yml 并执行:
symfony propel:build-all-load
但是 lib/_model 和 lb/model 没有反映我的更改和原因:调用未定义的方法
看起来很奇怪 - 之后你做symfony cc了(清除缓存)吗?
symfony cc
您是否也尝试过symfony propel:build-model自己做以确保模型文件正在重新生成正常?
symfony propel:build-model
作为起点,清除缓存
然后尝试使用
symfony propel:build-forms
预先。