Re: How can I do this -- method chaining
| From: | Stut | Date: | Wed, 30 Jan 2008 16:21:11 +0000 |
| Subject: | Re: How can I do this -- method chaining | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268332@lists.php.net to get a copy of this message | ||
Nathan Nobbe wrote:
On Jan 30, 2008 10:53 AM, Stut <stuttle@gmail.com <mailto:stuttle@gmail.com>> wrote:
Nathan Nobbe wrote:
I never said I wasn't creating
an instance in the example I posted.
then what exactly did you mean by this?
Actually no, I mean I would *just* use a static method. If there is no
reason to instantiate an object, why would you?
I meant "I would *just* use a static method". Calling a static method does not create an instance of the class. My comments usually follow the rule of Ronseal.
What do you think I meant by it?
-Stut
--
http://stut.net/