Wrong path in dependency injection, impossible to use custom provider
minychillo opened this issue · comments
minychillo commented
In the dependency injection it loads the services.yml like so:
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
That path is wrong as it is relative to the vendor dir.
So , loadProviders throws an exception as it can not get definition for custom factory service.