[TYPO3-mvc] Chaining: Return Domain Model Object in Setter Methods

Christian Zenker christian.zenker at 599media.de
Wed Sep 8 09:43:45 CEST 2010


On Tue, 07 Sep 2010 17:48:14 +0200, Sebastian Kurfürst  
<sebastian at typo3.org> wrote:

> Hey,
>
> yeah, I'd be interested if others like to have that,

Me.

> and also if other frameworks do that.

Unsure, but I've seen chaining quite often lately and I use it myself.  
It's an easy way to make your code more readable when assigning multiple  
values at once (although it might be a bit confusing if you are new to  
chaining).

Christian.


More information about the TYPO3-project-typo3v4mvc mailing list