From be0e7f04de3ec1f51869fcdc286017cf0e61a53b Mon Sep 17 00:00:00 2001 From: ardent Date: Sat, 25 Jul 2020 19:39:10 +0200 Subject: [PATCH] Fix autoload --- DependencyInjection/ArdentParameterExtension.php | 4 ---- Resources/config/services.yaml | 2 +- composer.json | 4 ++-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/DependencyInjection/ArdentParameterExtension.php b/DependencyInjection/ArdentParameterExtension.php index 16b754d..243b0d9 100644 --- a/DependencyInjection/ArdentParameterExtension.php +++ b/DependencyInjection/ArdentParameterExtension.php @@ -17,9 +17,5 @@ class ArdentParameterExtension extends Extension new FileLocator(__DIR__.'/../Resources/config') ); $loader->load('services.yaml'); - - $this->addAnnotatedClassesToCompile([ - Parameter::class, - ]); } } diff --git a/Resources/config/services.yaml b/Resources/config/services.yaml index 7ca9270..8190203 100644 --- a/Resources/config/services.yaml +++ b/Resources/config/services.yaml @@ -1,3 +1,3 @@ services: - Ardent\ArdentParameterBundle\Service\ParameterService: + Ardent\ParameterBundle\Service\ParameterService: alias: 'ardent.parameter' \ No newline at end of file diff --git a/composer.json b/composer.json index c5259e5..564fb92 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "ardent/ardent-parameter-bundle", + "name": "ardent/parameter-bundle", "description": "Simple bundle for storing parameters in the database", "type": "library", "require": { @@ -7,7 +7,7 @@ }, "autoload": { "psr-4": { - "Ardent\\ArdentParameterBundle\\": "src/" + "Ardent\\ParameterBundle\\": "" } }, "license": "GNU GPLv3"