Files
DesignPatternsPHP/Structural/Proxy/README.md
2014-07-29 11:17:21 -05:00

13 lines
346 B
Markdown

# Proxy
## Purpose
To interface to anything that is expensive or impossible to duplicate.
## Examples
* Doctrine2 uses proxies to implement framework magic (e.g. lazy initialization) in them, while the user still works with his own entity classes and will never use nor touch the proxies
## UML Diagram
![Alt Proxy UML Diagram](uml/uml.png)