original_string: private function resolveParameterWithConfigService(ContainerInterface $container, $requestedName)
      {
          /**
           * @param ReflectionParameter $parameter
           * @return mixed
           * @throws ServiceNotFoundException If type-hinted parameter cannot be
           *   resolved to a service in the container.
           */
          return function (ReflectionParameter $parameter) use ($container, $requestedName) {
              if ($parameter->isArray() && $parameter->getName() === 'config') {
                  return $container->get('config');
              }
              return $this->resolveParameter($parameter, $container, $requestedName);
          };
      }
code: private function resolveParameterWithConfigService(ContainerInterface $container, $requestedName)
      {
          /**
           * @param ReflectionParameter $parameter
           * @return mixed
           * @throws ServiceNotFoundException If type-hinted parameter cannot be
           *   resolved to a service in the container.
           */
          return function (ReflectionParameter $parameter) use ($container, $requestedName) {
              if ($parameter->isArray() && $parameter->getName() === 'config') {
                  return $container->get('config');
              }
              return $this->resolveParameter($parameter, $container, $requestedName);
          };
      }
code_tokens: private function resolveParameterWithConfigService ( ContainerInterface $ container , $ requestedName ) { /**
           * @param ReflectionParameter $parameter
           * @return mixed
           * @throws ServiceNotFoundException If type-hinted parameter cannot be
           *   resolved to a service in the container.
           */ return function ( ReflectionParameter $ parameter ) use ( $ container , $ requestedName ) { if ( $ parameter -> isArray ( ) && $ parameter -> getName ( ) === 'config' ) { return $ container -> get ( 'config' ) ; } return $ this -> resolveParameter ( $ parameter , $ container , $ requestedName ) ; } ; }
docstring: Returns a callback for resolving a parameter to a value, including mapping 'config' arguments.
  
  Unlike resolveParameter(), this version will detect `$config` array
  arguments and have them return the 'config' service.
  
  @param ContainerInterface $container
  @param string $requestedName
  @return callable
docstring_tokens: Returns a callback for resolving a parameter to a value including mapping config arguments .