开发者

Where to put fixtures in custom plugins?

开发者 https://www.devze.com 2023-03-12 22:47 出处:网络
I have a custom plugin in Symfony 1.4 and I want to add some fixtures to dat开发者_如何学Cabase. Where shall I put the file fixtures.yml ?

I have a custom plugin in Symfony 1.4 and I want to add some fixtures to dat开发者_如何学Cabase. Where shall I put the file fixtures.yml ?

Or shall I put it in ROOTPROJECT/data/fixtures/fixtures.yml ? Actually I want to keep data in the plugin as far as possible.


you can also put them in ROOT/plugins/yourPlugin/data/fixtures/fixtures.yml.

0

精彩评论

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