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

Allow access to Serializer's visitors getter #201

Merged
merged 1 commit into from
Oct 16, 2012

Conversation

adrienbrault
Copy link
Contributor

Since 1.0.x, I can no longer do

<?php

$container->get('jms_serializer.xml_serialization_visitor')->setDefaultRootName('a_root_name');

because jms_serializer.xml_serialization_visitor is now private.

With this PR I could just do

<?php

$container->get('serializer')->getSerializationVisitor('xml')->setDefaultRootName('a_root_name');

@adrienbrault
Copy link
Contributor Author

Build fixed

schmittjoh added a commit that referenced this pull request Oct 16, 2012
Allow access to Serializer's visitors getter
@schmittjoh schmittjoh merged commit 1e83452 into schmittjoh:master Oct 16, 2012
@schmittjoh
Copy link
Owner

Thanks!

jorns pushed a commit to jorns/JMSSerializerBundle that referenced this pull request Aug 11, 2014
fix issue schmittjoh#199: "array" type ignoring DateTime format
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