Problem
As a follow up to T240307: Hook container with strong types and DI
While working on T251465, we realized that there was a need for implementers of the hook to have access to the current request context RequestContext.
Questions
- Should a hook pass the request context to the implementations?
- If not, how should the implementation retrieve the current request context? RequestContext::getMain() ?