The following video explains what is an interface, how to create and implement it in PHP.
We will create a simple interface and implement it.
We will see an interface inheritance.
We will see how to implement multiple interfaces.
We will see constants in an interface.
We will create an abstract class which implements an interface.
In the second part of the video, we will see several real examples of why interfaces are necessary and useful.
Introduction to OOP in PHP –
Creating classes in PHP –
Inheritance in PHP –
Abstract classes in PHP –
Follow me on social media: