Open RFCs

new MyClass()->method() without parentheses

Chain method on newly created objects without parentheses

80% 20%
38
51 yes
13 no
Property Hooks

A new way of interacting with properties

61% 39%
65
125 yes
81 no
The Pipe Operator

The "pipe operator" |> allows you to chain multiple function calls in a more convenient way.

68% 32%
90
262 yes
126 no

Argument of the Day

10

Often, I add static methods to some classes in order to improve readability when I instantiate a new class; the ability of chaining methods directly to the constructor, without the unnecessary parenthesis boilerplate, would remove the need for that.

Share:
Read the RFC: new MyClass()->method() without parentheses reddalo avatar
reddalo
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!