Tagged: What are the hate points for Traits

0

Why Traits in Magento 2

In PHP, Multiple inheritence was supported with the help of Interface. But interface implementation is not flexible like class inheritance. So to make this happen traits came into the picuture. We will understand this...