Skip to content

Instantly share code, notes, and snippets.

@lsmith77
Created February 5, 2011 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lsmith77/812402 to your computer and use it in GitHub Desktop.
Save lsmith77/812402 to your computer and use it in GitHub Desktop.
move to a single load method
### Before ###
## Doctrine Configuration
doctrine.dbal:
dbname: xxxxxxxx
user: xxxxxxxx
password: ~
logging: %kernel.debug%
doctrine.orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
hello_config: ~
### After ###
## Doctrine Configuration
doctrine:
dbal:
dbname: xxxxxxxx
user: xxxxxxxx
password: ~
logging: %kernel.debug%
orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
# hello configLoad() will be called if defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment