private function resolveParameterWithoutConfigService(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) {
            return $this->resolveParameter($parameter, $container, $requestedName);
        };
    }
private function resolveParameterWithoutConfigService(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) {
            return $this->resolveParameter($parameter, $container, $requestedName);
        };
    }
private function resolveParameterWithoutConfigService ( 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 ) { return $ this -> resolveParameter ( $ parameter , $ container , $ requestedName ) ; } ; }
Resolve a parameter to a value.

Returns a callback for resolving a parameter to a value, but without
allowing mapping array `$config` arguments to the `config` service.

@param ContainerInterface $container
@param string $requestedName
@return callable
Resolve a parameter to a value .