Re: [PHP-DEV] Fully overridable factory methods

2025-02-18 Thread Rob Landers
On Tue, Feb 18, 2025, at 20:29, Juris Evertovskis wrote: > On 2025-02-18 19:31, Rob Landers wrote: > >> >> >> On Tue, Feb 18, 2025, at 17:52, Juris Evertovskis wrote: >>> Hi, >>> >>> A recent discussion brought up the need for multiple constructors for the >>> same class. >>> https://extern

Re: New RFC discussions (was: Re: [PHP-DEV] Fully overridable factory methods)

2025-02-18 Thread Rob Landers
On Tue, Feb 18, 2025, at 20:24, Tim Düsterhus wrote: > Hi > > On 2/18/25 18:31, Rob Landers wrote: > > You may be interested in a super-draft RFC that I’ll propose in the next > > few days… > > May I kindly request some breathing room with regard to new RFC > discussions so that folks are able

Re: [PHP-DEV] Fully overridable factory methods

2025-02-18 Thread Juris Evertovskis
On 2025-02-18 19:31, Rob Landers wrote: On Tue, Feb 18, 2025, at 17:52, Juris Evertovskis wrote: Hi, A recent discussion brought up the need for multiple constructors for the same class. https://externals.io/message/126428 The need was mostly answered by suggestions to use factory methods

New RFC discussions (was: Re: [PHP-DEV] Fully overridable factory methods)

2025-02-18 Thread Tim Düsterhus
Hi On 2/18/25 18:31, Rob Landers wrote: You may be interested in a super-draft RFC that I’ll propose in the next few days… May I kindly request some breathing room with regard to new RFC discussions so that folks are able to give each RFC the proper attention. The list currently is super ac

Re: [PHP-DEV] Fully overridable factory methods

2025-02-18 Thread Rob Landers
On Tue, Feb 18, 2025, at 17:52, Juris Evertovskis wrote: > Hi, > > A recent discussion brought up the need for multiple constructors for the > same class. > https://externals.io/message/126428 > > The need was mostly answered by suggestions to use factory methods. > However on an earlier dis

[PHP-DEV] Fully overridable factory methods

2025-02-18 Thread Juris Evertovskis
Hi, A recent discussion brought up the need for multiple constructors for the same class. https://externals.io/message/126428 The need was mostly answered by suggestions to use factory methods. However on an earlier discussion it was discussed how it's fine and even useful for constructor