From c55042449d454d2ab280df530308aee1d1e491ba Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Thu, 30 Nov 2017 15:19:14 -0500 Subject: [PATCH] Make configuration a bit more consistent --- config/routes-orig.yaml | 3 --- config/{routes.yml => routes.yaml} | 0 config/services-orig.yaml | 27 -------------------------- config/{services.yml => services.yaml} | 0 4 files changed, 30 deletions(-) delete mode 100644 config/routes-orig.yaml rename config/{routes.yml => routes.yaml} (100%) delete mode 100644 config/services-orig.yaml rename config/{services.yml => services.yaml} (100%) diff --git a/config/routes-orig.yaml b/config/routes-orig.yaml deleted file mode 100644 index 3fab0c6..0000000 --- a/config/routes-orig.yaml +++ /dev/null @@ -1,3 +0,0 @@ -#index: -# path: / -# defaults: { _controller: 'App\Controller\DefaultController::index' } diff --git a/config/routes.yml b/config/routes.yaml similarity index 100% rename from config/routes.yml rename to config/routes.yaml diff --git a/config/services-orig.yaml b/config/services-orig.yaml deleted file mode 100644 index 818789d..0000000 --- a/config/services-orig.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# 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 -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. - public: false # Allows optimizing the container by removing unused services; this also means - # fetching services directly from the container via $container->get() won't work. - # The best practice is to be explicit about your dependencies anyway. - - # makes classes in src/ available to be used as services - # this creates a service per class whose id is the fully-qualified class name - CameraBundle\: - resource: '../src/*' - exclude: '../src/{Entity,Migrations,Tests}' - - # controllers are imported separately to make sure services can be injected - # as action arguments even if you don't extend any base controller class - CameraBundle\Controller\: - resource: '../src/Controller' - tags: ['controller.service_arguments'] - - # add more service definitions when explicit configuration is needed - # please note that last definitions always *replace* previous ones diff --git a/config/services.yml b/config/services.yaml similarity index 100% rename from config/services.yml rename to config/services.yaml