Structural pattern: Decorator Refactoring.Guru: Decorator SourceMaking: Decorator Examples Decorator in PHP: Text filter