I've got a pure Symfony app. I had made own bundle, and want to define routes inside it via annotations/attributes.
I don't want to define routes inside main app space - bundle should be installed and routes immediately included for sake of easier installation and maintenance.
I already tried to load them this way:
controllers:
resource: "../src/Controller/"
type: attribute
and pretty much other ways, none work.
What's the proper way?