Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[DoctrineMongoDBBundle] Adding a "full" config example in YAML.
- Loading branch information
1 parent
68d478f
commit 0fe6f13
Showing
2 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...mfony/Bundle/DoctrineMongoDBBundle/Tests/DependencyInjection/Fixtures/config/yml/full.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
doctrine_mongo_db: | ||
proxy_namespace: Test_Proxies | ||
auto_generate_proxy_classes: true | ||
|
||
hydrator_namespace: Test_Hydrators | ||
auto_generate_hydrator_classes: true | ||
|
||
default_document_manager: default_dm_name | ||
default_database: default_db_name | ||
metadata_cache_driver: | ||
type: memcache | ||
class: fooClass | ||
host: host_val | ||
port: 1234 | ||
instance_class: instance_val | ||
|
||
default_connection: conn1 | ||
server: http://server | ||
options: | ||
connect: true | ||
persist: persist_val | ||
timeout: 500 | ||
replicaSet: true | ||
username: username_val | ||
password: password_val | ||
|
||
connections: | ||
conn1: ~ | ||
conn2: | ||
server: http://server2 | ||
|
||
mappings: | ||
FooBundle: annotations | ||
|
||
document_managers: | ||
dm1: ~ | ||
dm2: | ||
default_database: dm2_default_db | ||
connection: dm2_connection | ||
database: db1 | ||
mappings: | ||
BarBundle: | ||
type: yml | ||
dir: %kernel.cache_dir% | ||
prefix: prefix_val | ||
alias: alias_val | ||
metadata_cache_driver: apc | ||
|