Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ProxyFactory was redeclaring methods in some OSs #177
beberlei, here i mentioned the versions: symfony/symfony#2501 (comment)
As i said, it just occurs on my server, but i made some debugs there, and i noticed that on that classe the getMethods of reflection class bring the methods serialize and unserialize from my entity and from Serializable class.
My Change make sure that the reflection just get the methods from my entity, not from other entities. I read about reflection and getMethods on php documentation.
I hope that help.
ZendGuard and ioncube... i don't think so... why? but can be.
Can I ask you guys a thing. The ProxyFactory should generate just the methods from my entity right? So this way we fix that.
Of course, it is some incompatibility of PHP with some module, or PHP build of my Server. But i think this way we will fix that, as well other problems with other guys that are the same as mine.
I got the same problem for days, I try to use php5.3.2, 5.3.6, 5.3.8,
Google it, some people got same problem but there's no official resolution, thanks God, I find out @thiagofesfa's solution, it works for me.
I really hope Doctrine2.0 team can fix that, thank you guys!