Liskov Substitution Principle (LSP)

The Liskov Substitution Principle states that an object from a class and a sub-object, from a class that extends that object, must be interchangeable without breaking the program.

Documentation

See also Liskov Substitution Principle in PHP

Related : Contravariance, Covariance