Encapsulate varying behavior for 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.
Files
Latest commit
This branch is 981 commits behind DesignPatternsPHP/DesignPatternsPHP:main.
State
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||