Closed alwaeles closed 4 years ago
This bug is caused by the missing service configuration.
Should add src/Resources/config/service.yaml
and the following code in src/DependencyInjection/FortressFolkExtension.php
:
public function load(array $configs, ContainerBuilder $container)
{
$loader = new XmlFileLoader(
$container,
new FileLocator(__DIR__.'/../Resources/config')
);
$loader->load('services.xml');
// ...
}
Services are now loaded!
Describe the bug The services aren't loaded as shown in
php bin/console debug:container
To Reproduce Steps to reproduce the behavior:
composer create-project symfony/skeleton .
in an empty foldercomposer require fortress-project/folk-bundle@dev
php bin/console debug:container
Expected behaviour Being able to see the services from the bundle.
Additional context None.