December 2016
Beginner to intermediate
238 pages
6h 10m
English
© Kelt Dockins 2017
Kelt Dockins, Design Patterns in PHP and Laravel, 10.1007/978-1-4842-2451-9_16
Kelt Dockins1
(1)Dolph, Arkansas, USA
$> git checkout chain_of_responsibilityAvoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.1
Many things in life follow the Chain of Responsibility pattern: the military, businesses, and even casino slot machines. Take, for example, a call to your cell phone company’s customer support. It usually starts with the automated voice system . If that doesn’t satisfy you, then you are transferred to basic tier 1 support, ...
Read now
Unlock full access