zendframework/zf2 — pull request #2426 by bakura10 (2012-09-26 10:13:56+00:00)
Title: [BC] Remove need of setter in ClassMethods hydrator

This PR breaks compatibility, and I may be wrong, but the code of extracting was strange. If a getter was here but no setter, the current implementation skip the value and does not extract the value (because it wants both the getter and setter, which I can't understand and is not logical from an extraction point of view).

So I remove the need for that, but some tests break, that I remove. I can't honestly understand the use case and in some cases we only have getter (for instance for ID in entities, when you don't want to expose a setter, but still want be able to read the identifier in the form).

If someone can explain me the use case behind this, I can close this PR, but for now I think the current implementation is buggy and does not behave as expected.