Detecting end of method chain in PHP?

Posted by fabrik on Stack Overflow See other posts from Stack Overflow or by fabrik
Published on 2010-04-06T09:39:51Z Indexed on 2010/04/06 9:43 UTC
Read the original article Hit count: 227

Hello!

I cannot find a simple example about my question above: how can i detect the end of a method chain?

I'm just looked Zend_Db_Select for example but this one is too complex for this simple question i think.

Is it possible to catch the 'end' of a method chain in PHP?

thanks, fabrik

© Stack Overflow or respective owner

Related posts about method-chaining

Related posts about fluent-interface