diff options
author | devega <miguel.vega@sic.uhu.es> | 2020-03-23 10:10:50 +0100 |
---|---|---|
committer | devega <miguel.vega@sic.uhu.es> | 2020-03-23 10:10:50 +0100 |
commit | aafce73629d6b5f5d0a055e109d6112a4bccbb14 (patch) | |
tree | 5603a10758123d8c807e3de88c25d5c63eee218c /admin/WebConsole3/backend/config/services.yaml | |
parent | 2d61161b3b6ca0c22b860ea44f0dbf21af490e8e (diff) |
Updated Symfony 3.x to 4.x
Diffstat (limited to 'admin/WebConsole3/backend/config/services.yaml')
-rw-r--r-- | admin/WebConsole3/backend/config/services.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/admin/WebConsole3/backend/config/services.yaml b/admin/WebConsole3/backend/config/services.yaml new file mode 100644 index 00000000..a8b4d299 --- /dev/null +++ b/admin/WebConsole3/backend/config/services.yaml @@ -0,0 +1,35 @@ +# 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 } + +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. + #public: false + + # 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/{DependencyInjection,Entity,Migrations,Tests,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 + #Opengnsys\CoreBundle\Controller\: + # resource: '../src/Opengnsys/CoreBundle/Controller' + # tags: ['controller.service_arguments'] + #Opengnsys\ServerBundle\Controller\: + # resource: '../src/Opengnsys/ServerBundle/Controller' + # tags: ['controller.service_arguments'] + #Opengnsys\RepositoryBundle\Controller\: + # resource: '../src/Opengnsys/RepositoryBundle/Controller' + # tags: ['controller.service_arguments'] + + # add more service definitions when explicit configuration is needed + # please note that last definitions always *replace* previous ones |