Skip to content
New issue

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

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

Already on GitHub? # to your account

[RFC] Introduce normalizer\denormalizer interface #646

Closed
scaytrase opened this issue Sep 9, 2016 · 2 comments
Closed

[RFC] Introduce normalizer\denormalizer interface #646

scaytrase opened this issue Sep 9, 2016 · 2 comments

Comments

@scaytrase
Copy link
Contributor

Currently Serializer has method Serializer::toArray which is not covered by any interface. I suggest gracefully rename it to normalize and extract as NormalizerInterface. The same thing I suggest to do with fromArray method - DenormalizerInterface.

With graceful rename I mean having both methods now, marking old one as deprecated and to be remove in next major release

@goetas
Copy link
Collaborator

goetas commented Sep 9, 2016

See #592

@scaytrase
Copy link
Contributor Author

Oh, I've even searched for this before submitting. But in issues :(

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants