Solid, Solid Principles, PHP, Software Development, Software Engineering.
does not. So Let’s correct this: To solve this and implement the LSP, just create an intermediate class to differentiate this behavior. We are therefore going to set up a class FlyingBird that will inherited by the Canary class. The Ostrich class still inherit from Bird that contains now only the