Solid, Solid Principles, PHP, Software Development, Software Engineering.
replaceable with a Subclass object without breaking the functionality of the software. The Substitution Principle is a set of checks that helps predict whether a class will still compatible with code that worked with parent class objects. This concept is critical when you are developing libraries