Hi,
Does anybody can get me started on using fixtures in doctrine 2? In doctrine 1 this was easy. But in the doctrine 2 documentation there's nothing I can find about fixtures.
Thanks.
Hi,
Does anybody can get me started on using fixtures in doctrine 2? In doctrine 1 this was easy. But in the doctrine 2 documentation there's nothing I can find about fixtures.
Thanks.
YAML data fixtures no longer exist in Doctrine 2.
you can use use regular PHP code to load data fixtures.
see this link
http://www.symfony-project.org/blog/2009/10/05/symfony-and-doctrine-2