/
home
/
obinna
/
html
/
mixchief_app
/
config
/
Upload File
HOME
# 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: locale: 'en' mailgun_key: '%env(MAILGUN_KEY)%' mailgun_domain: '%env(MAILGUN_DOMAIN)%' aws_key: '%env(AWS_ACCESS_KEY_ID)%' aws_secret: '%env(AWS_SECRET_ACCESS_KEY)%' aws_region: '%env(AWS_DEFAULT_REGION)%' tinify: '%env(TINIFY_KEY)%' paystackPublic: '%env(PAYSTACK_CLIENT)%' paystackSecret: '%env(PAYSTACK_SECRET)%' 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'] # add more service definitions when explicit configuration is needed # please note that last definitions always *replace* previous ones App\Service\MailgunTransport: arguments: $apiKey: '%mailgun_key%' $domain: '%mailgun_domain%' App\Service\SESEmailClient: arguments: $awsKey: '%aws_key%' $awsSecret: '%aws_secret%' $region: '%aws_region%' App\Service\ImageManager: arguments: $tinifyKey: '%tinify%' $awsClient: '%aws_key%' $awsSecret: '%aws_secret%' $awsRegion: '%aws_region%' App\Service\PaystackHelper: arguments: $publicKey: '%paystackPublic%' $secretKey: '%paystackSecret%'