Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

33 wiersze
936 B

  1. parameters:
  2. services:
  3. _defaults:
  4. autowire: true
  5. autoconfigure: true
  6. Spt\SptCoreBundle\Controller\SecurityController: ~
  7. # makes classes in src/ available to be used as services
  8. # this creates a service per class whose id is the fully-qualified class name
  9. Spt\SptCoreBundle\:
  10. resource: '../src/'
  11. exclude:
  12. - '../src/DependencyInjection/'
  13. - '../src/Entity/'
  14. - '../src/Kernel.php'
  15. - '../src/Tests/'
  16. # controllers are imported separately to make sure services can be injected
  17. # as action arguments even if you don't extend any base controller class
  18. Spt\SptCoreBundle\Controller\:
  19. resource: '../src/Controller/'
  20. tags: ['controller.service_arguments']
  21. Spt\SptCoreBundle\Command\:
  22. resource: '../src/Command/'
  23. autowire: true
  24. autoconfigure: true
  25. arguments: [ '@doctrine.orm.entity_manager', '@service_container' ]
  26. tags:
  27. - { name: 'console.command' }