I'm using the PHP League Container and I want to implement a strategy pattern.
I want to connect to an external service with a different client class depending on the $version
parameter that is passed to my adapter. I want to pass the client in to the adapter as a dependency.
How can I get PHP league container to replace the definition of an interface with a new class at runtime?