Interface in PHP

Interfaces are defined using the interface keyword, in the same way as a standard class, but without any of the methods having their contents defined. All methods declared in an interface must be public; this is the nature of an interface.


https://www.geekboots.com/php/interface


Click here for Interface in PHP

Comments