parameters:
doctrine_mongodb.odm.metadata.xml.class: Doctrine\ORM\Mapping\Driver\YamlDriver
doctrine_mongodb:
auto_generate_proxy_classes: true
auto_generate_hydrator_classes: true
connections:
default:
server: '%env(resolve:MONGODB_URL)%'
options: {}
default_database: '%env(resolve:MONGODB_DB)%'
document_managers:
default:
auto_mapping: true
mappings:
Example\Store\DataProviders\Database\MongoDb:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/DataProviders/Database/MongoDb'
prefix: 'Example\Store\DataProviders\Database\MongoDb'
alias: StoreEntity
|