> Design Patterns > Proxy > Proxy Design Pattern In PHP

Proxy Design Pattern In PHP

Proxy design pattern in PHP to provide a placeholder for an object to control its access.


Proxy design pattern In PHP implementation

Output

Proxy::PerformOperation()
RealSubject::PerformOperation()


Suresh Kumar Srivastava is founder of online learning site coursegalaxy.com and author of popular books "C In Depth", "Data Structures Through C In Depth". He has 18+ years experience in industry and worked on architecture and design of multiple products. This article is from his courses on Design Patterns.