Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. services:
  2. _defaults:
  3. autowire: true # Automatically injects dependencies in your services.
  4. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  5. public: false # Allows optimizing the container by removing unused services; this also means
  6. App\:
  7. resource: '../../../src/*'
  8. exclude: '../../../src/**/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
  9. App\Infrastructure\:
  10. resource: '../../../src/Infrastructure/*'
  11. exclude: '../../../src/Infrastructure/Shared/Migrations/*'
  12. App\Infrastructure\Shared\Listener\ExceptionListener:
  13. arguments:
  14. - "@request_stack"
  15. tags:
  16. - { name: kernel.event_listener}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement