mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 08:26:44 +02:00
Added missing PO templates
Also added some punctuation, grammar and style fixes to some RST files.
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
Purpose
|
||||
-------
|
||||
|
||||
Demonstrate the Delegator pattern, where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object. In this case TeamLead professes to writeCode and Usage uses this, while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode function. This inverts the responsibility so that Usage is unknowingly executing writeBadCode.
|
||||
Demonstrate the Delegator pattern, where an object, instead of performing one
|
||||
of its stated tasks, delegates that task to an associated helper object. In
|
||||
this case TeamLead professes to writeCode and Usage uses this, while TeamLead
|
||||
delegates writeCode to JuniorDeveloper's writeBadCode function. This inverts
|
||||
the responsibility so that Usage is unknowingly executing writeBadCode.
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
Reference in New Issue
Block a user