You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot autowire service "App\ElasticRepository\UserRepository": argument "$finder" of method
"FOS\ElasticaBundle\Repository::__construct()" references interface
"FOS\ElasticaBundle\Finder\PaginatedFinderInterface" but no such service exists.
You should maybe alias this interface to one of these existing services: "fos_elastica.finder.user", "fos_elastica.finder.city".
Does any one know why it won't works?
The text was updated successfully, but these errors were encountered:
Hi,
I've created
UserRepository
and correctly declared repository class infos_elastica.yaml
as it is in https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/doc/cookbook/custom-repositories.md but symfony cannot autowire service.I'm getting error like this:
Does any one know why it won't works?
The text was updated successfully, but these errors were encountered: