Re: [PHP-DEV] [RFC] Object Initializer

September 14, 2019 09:26 (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=)
Hi Mike,

sob., 14 wrz 2019 o 10:32 Mike Schinkel <> napisał(a):

> > However, Object Initializers might be best when paired with a new magic > method which let us call *__init(),* and a *required* modifier for > properties. > > Using your Customer example, the __init() would be automatically called > after __construct(): > > Thank for your feedback and ideas, but I decided not to include it in the
RFC. Thanks in advance, Michał Brzuchalski