Translations:Developers/Object oriented programming in PHP/Abstract classes and interfaces/10/en

Interfaces specify which public methods a class must implement. Therefore, they provide only the method names and the parameter signatures omitting the method contents. Methods in interfaces are defined like abstract methods in abstract classes and interfaces guarantee that all implementing methods have the same parameter signature and can be called in the same way.