title: Find current Doctrine database connection settings in symfony
body: <p>I need to know the database name and database server name inside a symfony project. How can one access the current database connection settings programmatically in symfony (using Doctrine)?  </p>