[PHP-DEV] Re: On abstract methods defined on traits

2018-08-04 Thread Christoph M. Becker
On 03.08.2018 at 20:47, Pedro Magalhães wrote: > On Fri, Aug 3, 2018 at 7:22 PM Christoph M. Becker > wrote: > >> Frankly, I don't understand what this bug report is about, >> looks pretty much expected (note that the error >> message is totally different from what has

[PHP-DEV] Re: On abstract methods defined on traits

2018-08-03 Thread Pedro Magalhães
On Fri, Aug 3, 2018 at 7:22 PM Christoph M. Becker wrote: > On 03.08.2018 at 19:08, Pedro Magalhães wrote: > > What currently happens is that (like with normal methods), the method on > > the receiving class is used and the method from the trait is simply > ignored. > > Yes. However, if the

[PHP-DEV] Re: On abstract methods defined on traits

2018-08-03 Thread Christoph M. Becker
On 03.08.2018 at 19:08, Pedro Magalhães wrote: > On the documentation about traits there is a mention to: "Traits support > the use of abstract methods in order to impose requirements upon the > exhibiting class." in >