Re: [PHP-DEV] Specify abstract parent methods for traits

2022-09-29 Thread MKS Archive
> On Sep 18, 2022, at 7:51 AM, Mohammad Amin Chitgarha > wrote: > > Hi. > > Currently, it's possible that, inside a trait's function, use the parent > method of a class using the trait. This way, not only it's implicitly > supposed the trait is used in a class having a parent, but also the

Re: [PHP-DEV] Specify abstract parent methods for traits

2022-09-29 Thread juan carlos morales
I am also confused about this. Are you trying to generate multiple inheritance with this? If not ... can you provide code examples of the problem and a a hypothetical code of the solution you propose to that problem? Thanks -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Specify abstract parent methods for traits

2022-09-18 Thread Jordan LeDoux
On Sun, Sep 18, 2022 at 4:51 AM Mohammad Amin Chitgarha < machitgar...@gmail.com> wrote: > Hi. > > Currently, it's possible that, inside a trait's function, use the parent > method of a class using the trait. This way, not only it's implicitly > supposed the trait is used in a class having a

[PHP-DEV] Specify abstract parent methods for traits

2022-09-18 Thread Mohammad Amin Chitgarha
Hi. Currently, it's possible that, inside a trait's function, use the parent method of a class using the trait. This way, not only it's implicitly supposed the trait is used in a class having a parent, but also the parent class has such a method. It doesn't seem to be a good practice, as