Fix autoload
This commit is contained in:
parent
4b3cb50b1f
commit
be0e7f04de
@ -17,9 +17,5 @@ class ArdentParameterExtension extends Extension
|
|||||||
new FileLocator(__DIR__.'/../Resources/config')
|
new FileLocator(__DIR__.'/../Resources/config')
|
||||||
);
|
);
|
||||||
$loader->load('services.yaml');
|
$loader->load('services.yaml');
|
||||||
|
|
||||||
$this->addAnnotatedClassesToCompile([
|
|
||||||
Parameter::class,
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
services:
|
services:
|
||||||
Ardent\ArdentParameterBundle\Service\ParameterService:
|
Ardent\ParameterBundle\Service\ParameterService:
|
||||||
alias: 'ardent.parameter'
|
alias: 'ardent.parameter'
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ardent/ardent-parameter-bundle",
|
"name": "ardent/parameter-bundle",
|
||||||
"description": "Simple bundle for storing parameters in the database",
|
"description": "Simple bundle for storing parameters in the database",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"require": {
|
"require": {
|
||||||
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Ardent\\ArdentParameterBundle\\": "src/"
|
"Ardent\\ParameterBundle\\": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"license": "GNU GPLv3"
|
"license": "GNU GPLv3"
|
||||||
|
Loading…
Reference in New Issue
Block a user