File: store/config/packages/doctrine_mongodb.yaml

Recommend this page to a friend!
  Classes of Omar Shaban  >  Clean Architecture in PHP Symfony  >  store/config/packages/doctrine_mongodb.yaml  >  Download  
File: store/config/packages/doctrine_mongodb.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clean Architecture in PHP Symfony
Symfony based application in a Docker container
Author: By
Last change:
Date: 3 months ago
Size: 777 bytes
 

Contents

Class file image Download
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
For more information send a message to info at phpclasses dot org.