Webonaute / DoctrineFixturesGeneratorBundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.
63 stars 47 forks source link

Doctrine2 Array fields and underscores in properties #2

Closed niou-ns closed 9 years ago

niou-ns commented 10 years ago

Hi! Great work you've done here, but there is a few problems, with I've fixed in version witch is forked in my profile. I've done this fix because it was really important in my project.

For example - my property was $only_once, but setter and getter looked like setOnlyOnce - your code didn't work. There was a problem with boolean - the "false" value didn't appear as 0 - it was throwing an exception during loading fixture. And the very important change - array field for doctrine entity.

Webonaute commented 9 years ago

I merged your change to the master. Thank you.