Re: [PHP-DEV] Traits "implements" support

2020-11-30 Thread Pierre R.
Le 30/11/2020 à 16:19, Nikita Popov a écrit : Common misconception: It's not possible to rename methods of traits, you can only create aliases. That said, there's still an issue in that you might resolve a conflict in favor of an identically named method that uses a different signature. Note tha

Re: [PHP-DEV] Traits "implements" support

2020-11-30 Thread Nikita Popov
On Thu, Nov 26, 2020 at 5:53 PM Pierre R. wrote: > Le 26/11/2020 à 17:50, David Rodrigues a écrit : > > Hello! > > > > Now with PHP 8, traits supports abstract functions that should be > > implemented by the class that uses this trait. > > > > So is it now possible that traits could have support

Re: [PHP-DEV] Traits "implements" support

2020-11-26 Thread Pierre R.
Le 26/11/2020 à 17:50, David Rodrigues a écrit : Hello! Now with PHP 8, traits supports abstract functions that should be implemented by the class that uses this trait. So is it now possible that traits could have support to implements too? So when class uses this trait, it will be an implement