PHP Classes

File: config/packages/doctrine.yaml

Recommend this page to a friend!
  Classes of Manolo Salsas  >  PHP Budget Application API  >  config/packages/doctrine.yaml  >  Download  
File: config/packages/doctrine.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Budget Application API
API to manage records of budget requests
Author: By
Last change:
Date: 5 months ago
Size: 661 bytes
 

Contents

Class file image Download
doctrine:
    dbal:
        # configure these for your database server
        driver: 'pdo_mysql'
        server_version: '5.7'
        charset: utf8mb4
        default_table_options:
            charset: utf8mb4
            collate: utf8mb4_unicode_ci

        url: '%env(resolve:DATABASE_URL)%'
    orm:
        auto_generate_proxy_classes: true
        naming_strategy: doctrine.orm.naming_strategy.underscore
        auto_mapping: true
        mappings:
            App:
                is_bundle: false
                type: annotation
                dir: '%kernel.project_dir%/src/Entity'
                prefix: 'App\Entity'
                alias: App

For more information send a message to info at phpclasses dot org.