mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-03 13:37:27 +02:00
README State
This commit is contained in:
5
State/README.md
Normal file
5
State/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# State
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
Encapsulate varying behavior fo the same routine based on an object's state. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements.
|
Reference in New Issue
Block a user