# 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/configuration.html#application-related-configuration
parameters:
    # U can add your parameters here
    locale: en
    limit_pagination: 30
    cola_url:  'http11://autorq.com/'     # COLA PARA EL ENVIO DE COMPROBANTES ELECTRONICOS
    #api_url:  'https://facturasfactecu.factecupro.com/'
    #api_url:  'https://appi.facturasfactecu.com/'
    api_url:  'https://api.factecu.website/'
    #api_url:  'http://api.sharafac.com
    ruta_documentos:   '/home/factdmby/documentos/'
    base_app:  'factdmby_doc_facturasfactecu'
    
    company_name:   'FACTECU'
    
    GOOGLE_RECAPTCHA_SECRET_KEY: '%env(GOOGLE_RECAPTCHA_SECRET_KEY)%'
    api_portalsri: 'http://151.145.39.127/'

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,Entity,Migrations,Tests,Kernel.php}'

    # controllers are imported separately to make sure services can be injected
    # as action arguments even if you don't extend any base controller class
    App\Controller\:
        resource: '../src/Controller'
        tags: ['controller.service_arguments']
        
    App\EventListener\TransporteSocioListener:
        tags:
            - { name: doctrine.event_listener, event: onFlush }    

    # add more service definitions when explicit configuration is needed
    # please note that last definitions always *replace* previous ones
