I am stuck with a problem please help me with it. Here is the scenarario:
I have an entity \"User\" and corresponding repository \"UserRepository\", inside my entit
You need to declare the UserRepository as an EntityRepository for your user entity. In your User entity add this annotation:
UserRepository
EntityRepository
User
/** * @ORM\Entity(repositoryClass="Acme\StoreBundle\Entity\UserRepository") */
See the docs for a more detailed description.