Design Patterns in PHP – Template method pattern

Template method pattern The template method is a method in a superclass, usually an abstract superclass, and defines the skeleton of an operation in terms of a number of high-level steps. These steps are themselves implemented by additional helper methods in the same class as the template method. The helper methods may be either abstract …

Design Patterns in PHP – Template method pattern Read More »