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.
精彩评论