Design Patterns in PHP – Chain-of-responsibility pattern
Chain-of-responsibility pattern The chain-of-responsibility pattern is a behavioral design pattern consisting of a source of command objects and a series of processing objects. Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain. A mechanism also exists […]
Design Patterns in PHP – Chain-of-responsibility pattern Read More »