When I try to get the data from event PRE_SET_DATA, I get my object with good value, but I can\'t use it.
This is my test code :
$builder->add
I need to use this condition for the getter work :
if ($data instanceof \YOU\CommercantBundle\Entity\LivraisonChoix) { }