Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57476 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76158 invoked from network); 23 Jan 2012 08:10:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2012 08:10:56 -0000 Authentication-Results: pb1.pair.com header.from=cr@okto.tv; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cr@okto.tv; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain okto.tv designates 213.235.230.99 as permitted sender) X-PHP-List-Original-Sender: cr@okto.tv X-Host-Fingerprint: 213.235.230.99 gill.okto.tv Received: from [213.235.230.99] ([213.235.230.99:51963] helo=gill.okto.tv) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/71-60416-B061D1F4 for ; Mon, 23 Jan 2012 03:10:54 -0500 Received: from [192.168.2.248] (maja.okto.tv [213.235.230.98]) by gill.okto.tv (Postfix) with ESMTP id A1B0BB448D for ; Mon, 23 Jan 2012 09:10:48 +0100 (CET) Message-ID: <4F1D1608.5030809@okto.tv> Date: Mon, 23 Jan 2012 09:10:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [PHP-DEV] getters/setters project From: cr@okto.tv (Christoph Rosse) Hi, I did not follow the whole getter / setter discussion completely and just have read the RFC https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented . I just wanted to know if the new getter/setter syntax will provide getter/setter methods as well, so I can use fluent-interfaces? $foo->setBar("a")->doSomething(); Or will I have to write getter / setter methods myself if I want to do this? Thanks, christoph