Solid, Solid Principles, PHP, Software Development, Software Engineering.
class must be preserved. A subclass should never modify the values of the private attributes of a parent class (using Reflection). A method in a subclass should not throw the types of exceptions that the base method is not supposed to throw. For more, check this article: