a guest Jan 27th, 2020 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file is the entry point to configure your own services.
  2. # Files in the packages/ subdirectory configure your dependencies.
  4. # Put parameters here that don't need to change on each machine where the app is deployed
  5. #
  6. parameters:
  7.     sender:
  8. services:
  9.    # default configuration for services in *this* file
  10.     _defaults:
  11.         autowire: true      # Automatically injects dependencies in your services.
  12.         autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  14.     # makes classes in src/ available to be used as services
  15.     # this creates a service per class whose id is the fully-qualified class name
  16.     App\:
  17.         resource: '../src/*'
  18.         exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
  20.     # controllers are imported separately to make sure services can be injected
  21.     # as action arguments even if you don't extend any base controller class
  22.     App\Controller\:
  23.         resource: '../src/Controller'
  24.         tags: ['controller.service_arguments']
  26.     # add more service definitions when explicit configuration is needed
  27.     # please note that last definitions always *replace* previous ones
  28.     App\Entity\:
  29.         resource: "../src/Entity"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand