# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.

# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
    mailer_from_address: '%env(resolve:MAILER_FROM_ADDRESS)%'
    mailer_from_name: '%env(resolve:MAILER_FROM_NAME)%'
    brevo_api: '%env(resolve:BREVO_API)%'
    brevo_lists: '%env(resolve:BREVO_LISTS)%'
    timezone: '%env(APP_TIMEZONE)%'
    projectDir: '%kernel.project_dir%'
    file_upload_images_miniatures: '%env(FILE_UPLOAD_IMAGES_MINIATURES)%'
    file_upload_images: '%env(FILE_UPLOAD_IMAGES)%'
    file_upload_docs: '%env(FILE_UPLOAD_DOCS)%'
    file_upload_files: '%env(FILE_UPLOAD_FILES)%'
    file_upload_videos: '%env(FILE_UPLOAD_VIDEOS)%'
    file_upload_fonts: '%env(FILE_UPLOAD_FONTS)%'
    monetico.mode: '%env(MONETICO_MODE)%'
    monetico.url_prod: '%env(MONETICO_URL_PROD)%'
    monetico.url_dev: '%env(MONETICO_URL_DEV)%'
    monetico.tpe: '%env(MONETICO_TPE)%'
    monetico.societe: '%env(MONETICO_SOCIETE)%'
    monetico.key: '%env(MONETICO_KEY)%'
    paypal.paypal_mode: '%env(PAYPAL_MODE)%'
    paypal.prod_client_url: '%env(PAYPAL_PROD_CLIENT_URL)%'
    paypal.prod_client_api: '%env(PAYPAL_PROD_CLIENT_API)%'
    paypal.prod_client_id: '%env(PAYPAL_PROD_CLIENT_ID)%'
    paypal.prod_client_secret: '%env(PAYPAL_PROD_CLIENT_SECRET)%'
    paypal.dev_client_url: '%env(PAYPAL_DEV_CLIENT_URL)%'
    paypal.dev_client_api: '%env(PAYPAL_DEV_CLIENT_API)%'
    paypal.dev_client_id: '%env(PAYPAL_DEV_CLIENT_ID)%'
    paypal.dev_client_secret: '%env(PAYPAL_DEV_CLIENT_SECRET)%'
twig:
    globals:
        env: '%env(APP_ENV)%'
services:
    # default configuration for services in *this* file
    _defaults:
        autowire: true      # Automatically injects dependencies in your services.
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.

    # makes classes in src/ available to be used as services
    # this creates a service per class whose id is the fully-qualified class name
    App\:
        resource: '../src/'
        exclude:
            - '../src/DependencyInjection/'
            - '../src/Entity/'
            - '../src/Kernel.php'
    # add more service definitions when explicit configuration is needed
    # please note that last definitions always *replace* previous ones
