# 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 imports: - { resource: parameters.yaml } - { resource: social.yaml } - { resource: files.yaml } # TODO : Merge all resources in one (parameters.yaml + add below parameters) 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/Application/Migrations" - "../src/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\IU\Controller\: resource: "../src/IU/Controller" tags: ["controller.service_arguments"] App\Infrastructure\Routing\JsonExtensionLoader: tags: [routing.loader] App\Application\Event\Project\DeletedListener: public: false tags: - { name: doctrine.event_listener, event: preFlush, method: preFlush } App\Application\Event\Project\CreatedListener: public: false tags: - { name: doctrine.event_listener, event: preFlush, method: preFlush } App\Application\Event\Project\UpdatedListener: public: false tags: - { name: doctrine.event_listener, event: preUpdate, method: preUpdate } #App\Application\Event\Project\ArchivedListener: # public: false # tags: # - { name: doctrine.event_listener, event: preFlush, method: preFlush } App\Application\Event\ExceptionSubscriber: tags: - { name: kernel.event_subscriber } App\Application\Event\EventListener\UserLogListener: public: false tags: - { name: kernel.event_listener, event: kernel.request } Maestro\Component\Workflow\: resource: "../vendor/maestro/workflow/*" autowire: true autoconfigure: true public: false