upstream V3 development https://www.gnusocial.rocks/v3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.9 KiB

  1. # This file is the entry point to configure your own services.
  2. # Files in the packages/ subdirectory configure your dependencies.
  3. parameters:
  4. services:
  5. # default configuration for services in *this* file
  6. _defaults:
  7. autowire: true # Automatically injects dependencies in your services.
  8. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  9. # makes classes in src/ available to be used as services
  10. # this creates a service per class whose id is the fully-qualified class name
  11. App\:
  12. resource: '../src/*'
  13. exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php,Routes}'
  14. # controllers are imported separately to make sure services can be injected
  15. # as action arguments even if you don't extend any base controller class
  16. App\Controller\:
  17. resource: '../src/Controller'
  18. tags: ['controller.service_arguments']
  19. App\Core\Router\RouteLoader:
  20. tags: ['routing.loader']
  21. # Wrapper around Doctrine's StaticPHP metadata driver
  22. app.schemadef_driver:
  23. class: App\DependencyInjection\Compiler\SchemaDefDriver
  24. arguments:
  25. - '%kernel.project_dir%/src/Entity'
  26. App\Core\I18n\TransExtractor:
  27. tags:
  28. - { name: 'translation.extractor', alias: social }
  29. App\Core\Queue\MessageHandler:
  30. tags: ['messenger.message_handler']
  31. App\Core\DB\UpdateListener:
  32. tags:
  33. - { name: doctrine.event_listener , event: preUpdate }
  34. Symfony\Bridge\Doctrine\Security\RememberMe\DoctrineTokenProvider: ~
  35. Plugin\:
  36. resource: '../plugins/*'
  37. exclude: '../plugins/*/{scripts,classes,lib,actions,locale,doc}'
  38. tags: ['controller.service_arguments']
  39. Component\:
  40. resource: '../components/*'
  41. exclude: '../components/*/{scripts,classes,lib,actions,locale,doc}'
  42. tags: ['controller.service_arguments']