I'm a professional PHP, Python and Javascript developer from the UK. I've worked with Django, Laravel, and React, among others. I also maintain a legacy Zend 1 application.
One potential gotcha with traits is that unlike with mixins, which are a similar mechanism languages like Python use for multiple inheritance, traits work effectively by copying and pasting the content of the trait into the class using them. This means that you can't then create the same method on the class and refer to the parent defined in the trait like you can with mixins.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One potential gotcha with traits is that unlike with mixins, which are a similar mechanism languages like Python use for multiple inheritance, traits work effectively by copying and pasting the content of the trait into the class using them. This means that you can't then create the same method on the class and refer to the parent defined in the trait like you can with mixins.