All Questions
3
questions
-1
votes
1
answer
154
views
How handle visibility change of property in class when using serialized objects?
UPDATE:
As someone says this question is a bit unclear. I couldn't really understand it myself. But I did dig up the solution. It's a PHP bug that has been resolved. The server this legacy code runs ...
1
vote
3
answers
3k
views
Change protected value in object (PHP)
When I do a var_dump of the array $mailer I get:
object(Fooman_EmailAttachments_Model_Core_Email_Template_Mailer)#352 (8) {
["_emailInfos":protected]=>
array(3) {
[0]=>
object(...
7
votes
2
answers
8k
views
Method accessing protected property of another object of the same class
Should an object's method be able to access a protected property of another object of the same class?
I'm coding in PHP, and I just discovered that an object's protected property is allowed to be ...