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

ComPagesConfig refactoring #853

Merged
merged 2 commits into from
Dec 13, 2021
Merged

ComPagesConfig refactoring #853

merged 2 commits into from
Dec 13, 2021

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 13, 2021

This PR Closes #852 and improves the ComPagesConfig API

A new ComPagesConfigAbstract class and ComPagesConfigInterface have been added to make it easier for extensions to implement their own config objects.

The ComPagesConfigAbstract offers support for magic getters:

  • $config->get[option])
  • $config->get[Option]()

It also offers a getOptions() method which returns a ComPagesConfigOptions extending from ComPagesConfigOptions to make it easy to output the options as JSON.

@johanjanssens johanjanssens changed the base branch from master to feature/845-sentry December 13, 2021 15:42
@johanjanssens johanjanssens added this to In progress in v0.23.0 via automation Dec 13, 2021
Base automatically changed from feature/845-sentry to master December 13, 2021 22:39
@johanjanssens johanjanssens merged commit 2b3c87e into master Dec 13, 2021
@johanjanssens johanjanssens deleted the feature/852-config branch December 13, 2021 23:14
v0.23.0 automation moved this from In progress to Ready Dec 13, 2021
@johanjanssens johanjanssens added this to the v0.23.0 milestone Aug 8, 2022
@johanjanssens johanjanssens mentioned this pull request Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v0.23.0
  
Ready
Development

Successfully merging this pull request may close these issues.

ComPagesConfig refactoring
1 participant