getters/setters project
| From: | Christoph Rosse | Date: | Mon, 23 Jan 2012 08:10:48 +0000 |
| Subject: | getters/setters project | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-57476@lists.php.net to get a copy of this message | ||
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