Sollicitatievraag bij Creative Clicks

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

Antwoord op sollicitatievraag

Anoniem

28 apr 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.