-
-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Description
I use configuration with PHP ConfigBuilders and tried to add configuration for symfony/ux. That failed, TwigComponentConfig
could not be loaded.
So I was digging around (not knowing anything about it), comparing how others do it and finally found a working solution:
I created
ux/src/TwigComponent/src/DependencyInjection/Configuration.php
with content like this
class Configuration implements ConfigurationInterface
{
}
and then moved the getConfigTreeBuilder()
method from
ux/src/TwigComponent/src/DependencyInjection/TwigComponentExtension.php
into that class.
I don’t know if this the correct way, if that would break anything else, but at least now TwigComponentConfig
gets built and configuration works.
Metadata
Metadata
Assignees
Labels
No labels