Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow test DI-extenions that depends on another extensions and config #78

Open
Koc opened this issue Jul 7, 2017 · 0 comments
Open

Comments

@Koc
Copy link

Koc commented Jul 7, 2017

See dustin10/VichUploaderBundle#746 for use case. I need load TwigExtension with his own config.

But I cann't just add new TwigExtenstion() to getContainerExtensions method. Can we make it more user-friendly? Allow pass to load method array with keys like twig => [/* twig config */], vichuploader => [/* vichuploader config */]?

dkarlovi added a commit to dkarlovi/SymfonyDependencyInjectionTest that referenced this issue Apr 26, 2022
Allows the user to register additional extensions which then will not be configured with local configuration, which doesn't work anyway.

See SymfonyTest#78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant