I'm trying to understand something. Best explained through an example.
My understanding is that a Class Adapter (lets say written in C++) is for a class written in PHP (hypothetical).
C++ - Class A - Adapter
PHP - Class B - Adabtee.
If I'm trying to access Class B through class A written in another programming language then how do they communicate. The reason I ask is because they are written in different programming languages so how can the Adapter communicate with an Adaptee? Furthermore... How does one compile an Adapter (in a program) when it has to access the Adaptee written in another programming language? Are they compiled separately then linked?