We have decided to use lower-case + underscores for variables, including the properties of an entity.
Example
private $front_image;
This was leading to errors, because the getter would result in getFront_image(). The getter defaults as per standard doctrine 2 (also when you use doc:gen:entities) to getFrontImage(). Therefore your function also needed to have the same behavior to prevent errors.
We have decided to use lower-case + underscores for variables, including the properties of an entity. Example private $front_image;
This was leading to errors, because the getter would result in getFront_image(). The getter defaults as per standard doctrine 2 (also when you use doc:gen:entities) to getFrontImage(). Therefore your function also needed to have the same behavior to prevent errors.
I hope this helps :)