copypaste2/config/services.yaml

25 lines
904 B
YAML

# Learn more about services, parameters and containers at
# http://symfony.com/doc/current/book/service_container.html
parameters:
locale: 'ru'
container.dumper.inline_class_loader: true
services:
# default configuration for services in *this* file
_defaults:
# automatically injects dependencies in your services
autowire: true
# automatically registers your services as commands, event subscribers, etc.
autoconfigure: true
# this means you cannot fetch services directly from the container via $container->get()
# if you need to do this, you can override this setting on individual services
public: false
App\:
resource: '../src/*'
exclude: '../src/{DataFixtures,Entity,Migrations,Tests,Kernel.php}'
App\Controller\:
resource: '../src/Controller'
tags: ['controller.service_arguments']