mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
README State
This commit is contained in:
parent
5e0fe5445d
commit
f1e8c5796f
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.
|
Loading…
x
Reference in New Issue
Block a user