PHP Traits (OOP)

PHP traits are a methodology for code reuse that allows us to group functions, but don’t get me wrong, these groupings are not inside the class, you can use the same grouping in different classes.

read more