Permalink
Browse files

Merge pull request #20 from meckhardt/provide-configuration-settings

Provide debug infos for config:dump-reference
  • Loading branch information...
beberlei committed Jan 28, 2013
2 parents 44b6e7a + d45e5f6 commit e5a9f81e3da319c498eb87f8c59b82c39ab532e6
Showing with 9 additions and 0 deletions.
  1. +5 −0 DependencyInjection/DoctrineCouchDBExtension.php
  2. +4 −0 README.md
@@ -56,6 +56,11 @@ public function load(array $configs, ContainerBuilder $container)
}
}
+ public function getConfiguration(array $config, ContainerBuilder $container)
+ {
+ return new Configuration($container->getParameter('kernel.debug'));
+ }
+
private function clientLoad($config, ContainerBuilder $container)
{
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
View
@@ -25,6 +25,10 @@ on the AbstractDoctrineBundle aswell:
odm:
auto_mapping: true
+To dump the configuration reference of this bundle
+
+ php app/console config:dump-reference doctrine_couch_db
+
## Annotations
An example of how to use annotations with CouchDB and Symfony:

0 comments on commit e5a9f81

Please sign in to comment.