I\'m trying to understand this code, and when I arrived at the final line, I didn\'t get it. :(
Can I have your help in order to find out, what does re
re
$this means the current object, the one the method is currently being run on. By returning $this a reference to the object the method is working gets sent back to the calling function.
$this
So anyone doing
$foo2 = $foo->SetOptions($bar);
$foo2 now refers to $foo also.