Solid, Solid Principles, PHP, Software Development, Software Engineering.
https://www.baeldung.com/java-liskov-substitution-principle Example We have a class called Bird which contains two methods: Eat and Fly. We start writing code and create a Canary class and an Ostrich class that both inherit from Bird. Bad Implementation Let’s analyze this code, you will immediately