OOP in PHP
PHP introduces the final keyword, which prevents child classes from overriding a method by prefixing the definition with final keyword.
Traits is look like of class. it contain group of methods you want to use in another class.
Like abstract class we can't create object of traits but we can use it in another class.
So it's solve multiple inheritance problem in PHP.
It's lot of look like interface, but diffrent is in interface we can only define method/function but we can't implement but in traits we can do it.