This is really bad, imho. I would suggest a `RequestAwareInterface` and inject the `Request` if accordingly. There is no reason to inject the container just to receive the base url.