Skip to content

Instantly share code, notes, and snippets.

@webmozart
Forked from lsmith77/gist:812402
Created February 5, 2011 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webmozart/812403 to your computer and use it in GitHub Desktop.
Save webmozart/812403 to your computer and use it in GitHub Desktop.
# Services for a bundle are always loaded
# hello configLoad() will be called automatically (if defined)
# Namespaces can be simplified
doctrine:
dbal:
dbname: xxxxxxxx
user: xxxxxxxx
password: ~
logging: %kernel.debug%
orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
# The bundle has to provide hooks for disabling certain services
# For example, DoctrineBundle could disable ORM if this key is set to NULL
# orm: ~
# Services for a bundle are only loaded if their config key is available
# So config keys have to be set to NULL if no custom configuration is desired
hello_config: ~
doctrine.dbal:
dbname: xxxxxxxx
user: xxxxxxxx
password: ~
logging: %kernel.debug%
doctrine.orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
# To disable a service, just comment out the whole block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment