Add a dependency on the HttpKernel component to use a ControllerResolver to instantiate a controller class if necessary and determine the arguments to pas to it.