We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Symfony2 Bundles 是基于 Symfony2 的应用程序和第 3 方捆绑包的宝贵来源。
然而,你应该记住,你会发现很多项目已经过时了,因为 Sf2 仍然不稳定,而且它的 API 经常改变。
基本上,您所要做的就是:
ApplicationKernel
中启用 Doctrines 的捆绑包。确保其配置正确:
创建一些实体。
最终用途:
Symfony2 Bundles is a valuable source of Symfony2-based applications and 3rd-party bundles.
However, you should keep in mind that lots of project you can find out there is out-dated as Sf2 is still not stable and its API is changed quite often.
Basically, all you have to do is:
ApplicationKernel
.Make sure it's configured properly:
Create some entities.
Final usage:
Symfony DIC 和配置已更改!
您现在应该在 config.yml 中使用这样的内容:
Symfony DIC and config has changed!
You should now use sth like this in your config.yml: