I\'m trying to change the db connection based on current subdomain. So far I\'ve managed to create a kernel.request listener and injecting the entity manager.
services.ya