Symfony2 Embedded Form and MongoDB issue
I think you should not use dependency in your setter method in this case...
So instead of:
setGeolocation(\Company\StoreBundle\Document\Geolocation $geolocation)
Try this and see if it works correctly:
setGeolocation($geolocation)