PHP Interface
You can use interfaces to describe which methods a class should implement. An interface does not contain abstract methods; instead, it has public methods without any definition, and classes inheriting the interface must define the methods declared within the interface class. The interface keyword is used to declare interfaces: Interfaces Syntax: The implements keyword allows a … Read more