> Design Patterns > Facade > Facade Design Pattern In PHP

Facade Design Pattern In PHP

Facade design pattern in PHP to provide simple interface to use an existing system in an easy way.


Facade design pattern In PHP

Output

Using FacadeSystem::Method1()
Using SubSystemClass1::SubSysClass1Method1()
Using SubSystemClass2::SubSysClass2Method2()
Using SubSystemClass3::SubSysClass3Method1()
Using FacadeSystem::Method2()
Using SubSystemClass1::SubSysClass1Method2()
Using SubSystemClass2::SubSysClass2Method1()
Using SubSystemClass3::SubSysClass3Method2()


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 Facade Design Pattern In PHP is from his Design Patterns course.