Question d’entretien chez Creative Clicks

Object Inheritance in php which the developer asking did not even understand

Réponse à la question d'entretien

Utilisateur anonyme

28 avr. 2023

Explained to them it is to do with extend keyword in php and they said it was incorrect. Because you are extending a class and inheriting its properties but they insisted it is to do with implements and interfaces, in my experience implementing a interface is adhering to a domain contract, i.e methods the class needs to adhere to.