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"