Fix autoload

This commit is contained in:
Tim 2020-07-25 19:39:10 +02:00
parent 4b3cb50b1f
commit be0e7f04de
3 changed files with 3 additions and 7 deletions

View File

@ -17,9 +17,5 @@ class ArdentParameterExtension extends Extension
new FileLocator(__DIR__.'/../Resources/config')
);
$loader->load('services.yaml');
$this->addAnnotatedClassesToCompile([
Parameter::class,
]);
}
}

View File

@ -1,3 +1,3 @@
services:
Ardent\ArdentParameterBundle\Service\ParameterService:
Ardent\ParameterBundle\Service\ParameterService:
alias: 'ardent.parameter'

View File

@ -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"