Re: How can I do this -- method chaining
| From: | Andrew Ballard | Date: | Tue, 29 Jan 2008 19:27:58 +0000 |
| Subject: | Re: How can I do this -- method chaining | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268270@lists.php.net to get a copy of this message | ||
On Jan 29, 2008 1:53 PM, Christoph Boget <christoph.boget@gmail.com> wrote:
> Constructors return the object, correct?
Actually, I don't think so. I believe constructors return void, while
the 'new' keyword returns a copy of the object.
Andrew