title: symfony2 entities data not persisted
body: <p>I'm trying to persist a new entity, a "member", which has a contact field. The contact field is another entity, composed of a mail and a phone field. When I try to persist a new member, I add an email and a phone number, but the phone is not persisted. I did a var_dump over the object in my controller, and I found out that the <code>private phone =&gt; null</code> but doctrine added a new attribute : <code>public phones =&gt; &lt;the actual phone number&gt;</code>. This attribute doesnt exist in my entity.. What did I do wrong ? the relation between member and contact is </p>
  
  <p><code>@ORM\OneToOne(targetEntity="Interne\FichierBundle\Entity\Contact", cascade={"persist", "remove"})</code></p>
  
  <p>Thanks a lot for your help</p>
  
  <p>EDIT :</p>
  
  <p>result of the var_dump over my"member", for the contact entry :</p>
  
  <pre><code>private 'contact' =&gt;
  object(Interne\FichierBundle\Entity\Contact)[891]
    private 'id' =&gt; null
    private 'telephone' =&gt; null
    private 'email' =&gt; string 'test@gmail.com' (length=25)
    public 'telephones' =&gt; float 2187187392749
  </code></pre>
  
  <p>As you can see, telephone is empty, but telephones isnt. Problem is, there are no telephones attribute in my entities.</p>