[HttpKernel] Extract method to make callable controller in ControllerResolver