How to create PHP method linking?
Posted
by Kerry
on Stack Overflow
See other posts from Stack Overflow
or by Kerry
Published on 2010-06-02T22:46:50Z
Indexed on
2010/06/02
22:54 UTC
Read the original article
Hit count: 156
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.
© Stack Overflow or respective owner