Baffling title isn't?
I m looking for an object method that would transform the argument(s) (scalar, array, whatever..) passed to it into attribute(s) of this object BY KEEPING the SAME name (and same value of course...).
Thus, the variable $minus (value=78) would be passed to a method that would make $this->minus (value=78) available.
Let me know if that wasn't clear enough.
I've already spent some time on this and couldn't figure it out. The one that solves this gains my respect for life! Not gonna feed you but still...![]()





Bookmarks