Skip to content

Add toArray() to transformer configuration #154

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

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

schlessera
Copy link
Collaborator

To provide better insight into a configured optimizer pipeline, the TransformerConfiguration interface now requires its implementations to provides a toArray() method.

This method returns an associative array of all the configuration keys of that particular transformer configuration.

@schlessera schlessera added this to the 0.5.0 milestone Apr 14, 2021
@schlessera schlessera merged commit 19e9c53 into main Apr 14, 2021
@schlessera schlessera deleted the add/toarray-on-transformer-config branch April 14, 2021 13:49
westonruter added a commit to ampproject/amp-wp that referenced this pull request Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant