On 09/10/13 07:39, Nikita Popov wrote:
On Mon, Oct 7, 2013 at 11:53 AM, Gordon Oheim <g...@php.net> wrote:

Since the feedback so far was few but positive, I'll advance the RFC to
the next stage. Apart from this, any feedback is still welcome.

Thanks and Regards, Gordon

For the lazy folks, this is the RFC Gordon is talking about:
https://wiki.php.net/rfc/automatic_property_initialization

Nikita


Thanks Gordon and Nikita,

I like the General Automatic Assignement idea. It does start getting into accessor territory (which I think is a better solution overall), but allows for writing a bit less boilerplate code.

Would fluid interfaces still be possible?

public function setFoo($this->foo) { return $this; }

Cheers,
David

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to