Behavioral pattern: Template Method Refactoring.Guru: Template Method SourceMaking: Template Method Examples Template Method in PHP: SocialNetwork