Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #41 from Tatsh/add-namespace-option

Add namespace option
  • Loading branch information...
commit 0b65f208a28341e320e823cbf0794494eb651b46 2 parents 46b86dd + 89d6483
@stof stof authored
View
1  DependencyInjection/Configuration.php
@@ -239,6 +239,7 @@ private function getOdmCacheDriverNode($name)
->scalarNode('port')->end()
->scalarNode('instance_class')->end()
->scalarNode('class')->end()
+ ->scalarNode('namespace')->defaultNull()->end()
->end()
;
View
6 Tests/DependencyInjection/ConfigurationTest.php
@@ -118,7 +118,7 @@ public function testSingleTopLevelDocumentManager()
'default_document_manager' => 'default',
'document_managers' => array(
'default' => array(
- 'metadata_cache_driver' => array('type' => 'array'),
+ 'metadata_cache_driver' => array('type' => 'array', 'namespace' => null),
'auto_mapping' => false,
'mappings' => array(),
'design_documents' => array(),
@@ -156,7 +156,7 @@ public function testMultipleDocumentManager()
'document_managers' => array(
'test' => array(
'connection' => 'default',
- 'metadata_cache_driver' => array('type' => 'array'),
+ 'metadata_cache_driver' => array('type' => 'array', 'namespace' => null),
'auto_mapping' => false,
'mappings' => array(),
'design_documents' => array(),
@@ -166,7 +166,7 @@ public function testMultipleDocumentManager()
'all_or_nothing_flush' => true,
),
'test2' => array(
- 'metadata_cache_driver' => array('type' => 'array'),
+ 'metadata_cache_driver' => array('type' => 'array', 'namespace' => null),
'auto_mapping' => false,
'mappings' => array(),
'design_documents' => array(),
Please sign in to comment.
Something went wrong with that request. Please try again.