8000 Fix setValueTransformer() call by ajessu · Pull Request #64 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fix setValueTransformer() call #64

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

Closed
wants to merge 1 commit into from
Closed

Conversation

ajessu
Copy link
Contributor
@ajessu ajessu commented Dec 21, 2010

The setValueTransformer() method is now protected (it used to be public before), so calling it the way the docs indicate now produces an error.

It was discussed briefly on the developers mailing list, and I ran into it today.
https://groups.google.com/forum/#!msg/symfony-devs/cyS6Ixzgvv8/aw_o5IL1z44J

@ajessu
Copy link
Contributor Author
ajessu commented Dec 22, 2010

Here is the current state of the Field class where setValueTransformer() is now protected, just in case.
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/Field.php

xabbuh pushed a commit that referenced this pull request Jul 28, 2016
Move Form component sub-articles to the Form topic
This pull request was closed.
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.

1 participant
0