Hessam Posted September 17, 2018 Share Posted September 17, 2018 (edited) When i go to the page that loads my symfony service , it tells me there is no such a service with this name registered. my config.yml file looks like this: services: product_repository: class: Foo\Repository\ProductRepository arguments: ['@doctrine.dbal.default_connection', '%database_prefix%'] and my module structure is like the attached image. (this is the tutorial module) What is really wrong? Edited September 17, 2018 by Hessam (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now