Tag: OOP

How to use PHP Interface in Laravel?

PHP interfaces are a blueprint of a class, that defines a set of methods that…

 Posted in Laravel, PHP Tagged , ,

Traits in PHP and Laravel?

This is a fact that in PHP you can only have single inheritance. That means a class can inherit from only one other class.

 Posted in Laravel, PHP Tagged , , , ,