gpt4 book ai didi

symfony - 如何覆盖其他包中 FOSUserBundle 的架构文件

转载 作者:行者123 更新时间:2023-12-02 16:45:42 25 4
gpt4 key购买 nike

我正在 symfony 2.5 中使用 propel 来完成我的项目。

我需要向 fos_user 表添加行为,因此我需要一种方法来覆盖 src/ 目录中的原始架构文件。将我的项目定义为 FOSUserBundle 的子项目确实有效,但这不是我想要的。

还有别的办法吗?

最佳答案

you can copy the original schema file to your app directory
and add the behavior you need. The way is exactly like overriding
any twig templates from vendors.

关于symfony - 如何覆盖其他包中 FOSUserBundle 的架构文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26376736/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com