Hi Oliver!

On 18.07.2024 at 11:21, Oliver Nybroe wrote:

> I am looking into making the constructor body optional in classes,
> essentially allowing you to write
>
> ```
> class User {
>     public function __construct(
>         private string $name,
>     )
> }
> ```

See https://externals.io/message/114324 for a prior discussion of a very
similar idea.

Cheers,
Christoph

Reply via email to