PHP: Abstraction

When we look at abstract classes, we need to focus on the “abstract methods” within the abstract class. In fact, the rule #1 when dealing with abstraction is: if we create an abstract method in any class, we must make the entire class abstract. This clearly shows the importance of abstract classes comes from its…