One of the problem of PHP as a OOP language is, the fact that you can only have single inheritance. This means your class can only inherit from one other class. PHP Traits (new feature was added in PHP 5.4) is kind of like a Mixin, allows you to mix Trait classes into an …
Read More