Request for wiki karma
| From: | Jesse Schalken | Date: | Wed, 13 Jul 2016 09:53:43 +0000 |
| Subject: | Request for wiki karma | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-94497@lists.php.net to get a copy of this message | ||
Hi internals,
I'd like wiki karma to write an RFC for the feature of setting
properties/calling methods within an expression with the result of the
object itself, eg
$this->fooMethod(new FooParams() {
setBlah(BLAH_CONST + 1),
prop1 = $foo,
prop3 = $builder->create() {
prop1 = true,
prop2 = $this->getBaz(),
},
});
Wiki Username: jesse.schalken
Also, if anyone has an idea for the name of the feature, please let me
know. The best I can think of is "object-expressions".
Thanks