+ $this->argumentResolver = $argument_resolver;
+ if ($argument_resolver instanceof ControllerResolverInterface) {
+ @trigger_error("Using the 'controller_resolver' service as the first argument is deprecated, use the 'http_kernel.controller.argument_resolver' instead. If your subclass requires the 'controller_resolver' service add it as an additional argument. See https://www.drupal.org/node/2959408.", E_USER_DEPRECATED);
+ $this->controllerResolver = $argument_resolver;
+ }