Q:

Symfony2: get list of all routes with their controller

I want to get all routes with their controller, I know this command
php app/console debug:router
But that shows only the routes not their controller.
Is there any way to get list of routes and thir controllers ? 
Thank you

A:

If the CLI command is fine for you, there is an option to add a controller
php app/console debug:router --show-controllers

You can of course then grep if you search for something specific.
You can check other options (not much really) by running
php app/console debug:router --help

