Closed
Description
Symfony version(s) affected: 4.4.1
Description
If I create a config tree not in a bundle, f.e in my Kernel, then the config:dump-reference command does not see it. It used to see it in Symfony 4.3 and before, with "bundle name" simply not set
How to reproduce
Create a Kernel that is an Extension and a Configuration.
Implement the methods
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
class Kernel extends BaseKernel implements ExtensionInterface, ConfigurationInterface
{
public function load(array $configs, ContainerBuilder $container)
{
$processor = new Processor();
$config = $processor->processConfiguration($this, $configs);
}
public function getNamespace()
{
return '';
}
public function getXsdValidationBasePath()
{
return false;
}
public function getAlias()
{
return 'foobar';
}
public function getConfigTreeBuilder()
{
$tree = new TreeBuilder($this->getAlias());
// do something
return $tree;
}
}
Possible Solution
Additional context
Metadata
Metadata
Assignees
Labels
Issues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.