How to create PHP method linking?
- by Kerry
I've seen other objects that do this:
$obj->method1()->method2();
How do I do that? Is each function just modifying the pointer of an object or returning a pointer?
I don't know the proper term for this style -- if anyone could help me with that, it would be great.