On 11 July 2016 at 21:51, Jesse Schalken <m...@jesseschalken.com> wrote:
> > does save the verbosity of repeating a variable name, and often saves a > variable altogether: > > $blah = new Blah(); > $blah->setFoo(1); > $blah->setBaz(2); > $this->setBlah($blah); > > > becomes > > $this->setBlah((new Blah()) > ->setFoo(1) > ->setBaz(2) > ); > > Right: to save one variable assignment you now have 3 function calls. I think I see your problem (if this is about performance) :-P Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/