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

Use dynamic settings instead of config resolver #1

Merged
merged 1 commit into from
Oct 23, 2015

Conversation

bdunogier
Copy link
Contributor

This replaces ContainerAware + ConfigResolver with injection of dynamic settings from services.yml. We find it easier to maintain, maybe you'll think the same.

The settings are passed with setters and not the constructor so that the values can be updated on siteaccess change without resetting the service.

@noodle69
Copy link
Collaborator

Thanks for your help.

sorry for bad usage of dependency injection

noodle69 added a commit that referenced this pull request Oct 23, 2015
Use dynamic settings instead of config resolver
@noodle69 noodle69 merged commit 21e6345 into Smile-SA:master Oct 23, 2015
@bdunogier
Copy link
Contributor Author

sorry for bad usage of dependency injection

Come on. You wouldn't believe what I've put the container through on some occasions ;-)

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

Successfully merging this pull request may close these issues.

None yet

2 participants