Sonata and Gedmo\References doctrine extension doesn't work ( Class does not exist )
问题 I want to link the doctrine orm entity and doctrine odm document and use them in sonataAdminBundle in configureFormFields Method of the Admin Class. I've established the @Gedmo\References doctrine-extension and it works just fine when i'm trying to access the linked models from controller. But now I need to do it from SonataAdminBundle - to make an UI to add the linked documents to the user entity. Here is my entity: <?php namespace Application\Sonata\UserBundle\Entity; use Doctrine\ORM