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

Added createFromArray method on SettingsFactory #708

Merged
merged 3 commits into from
Jun 10, 2022

Conversation

doekenorg
Copy link
Contributor

@doekenorg doekenorg commented Jun 10, 2022

For the symfony-ray bundle I'm creating, I needed a settings factory method that accepts the configuration as an array; so I can use the normal Symfony configuration way.

Instead of creating another simple factory class, I figure I'd add it to the original factory class.

@freekmurze freekmurze merged commit d1b99be into spatie:main Jun 10, 2022
@freekmurze
Copy link
Member

Thanks!

@doekenorg doekenorg deleted the settings-factory-from-array branch June 10, 2022 14:36
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.

2 participants