0
I don't get when one would use magic methods. if I use them when i need to do complex operations, why would I not use a function that I define? thanks
2 Respuestas
+ 2
Be careful. We are talking about methods,not functions. So a magic method allows you to make complex operations on Objects,not only variables!
0
thanks