# 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: app.mailer_from: '%env(MAILER_FROM)%' app.ga_view_id: '%env(GA_VIEW_ID)%' app.base_url: '%env(APP_BASE_URL)%' app.yandex_schedule_api_key: '%env(YANDEX_SCHEDULE_API_KEY)%' services: _defaults: autowire: true autoconfigure: true App\: resource: '../src/*' exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}' App\Components\Balticrest\EventListener\ExceptionListener: tags: - { name: kernel.event_listener, event: kernel.exception } imports: - { resource: '../src/Components/Admin/config/services.yaml'} - { resource: '../src/Components/Balticrest/config/services.yaml'}