> Design Patterns > Bridge > Bridge Design Pattern In PHP

Bridge Design Pattern In PHP

Bridge design pattern in PHP to have interface and implementation independently in separate hierarchies.


Bridge design pattern In PHP

Output

Inside RefinedAbstraction1::Operation()
Inside ConcreteImplementor1::Operation()
Inside RefinedAbstraction2::Operation()
Inside ConcreteImplementor2::Operation()


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