protected function resolveParameters(array $reflectionParameters, array $parameters = []): array
    {
        $dependencies = [];

        foreach ($reflectionParameters as $key => $parameter) {
            $dependencies[] = $this->resolveParameter($parameter, $parameters);
        }

        return $this->mergeParameters($dependencies, $parameters);
    }
protected function resolveParameters(array $reflectionParameters, array $parameters = []): array
    {
        $dependencies = [];

        foreach ($reflectionParameters as $key => $parameter) {
            $dependencies[] = $this->resolveParameter($parameter, $parameters);
        }

        return $this->mergeParameters($dependencies, $parameters);
    }
protected function resolveParameters ( array $ reflectionParameters , array $ parameters = [ ] ) : array { $ dependencies = [ ] ; foreach ( $ reflectionParameters as $ key => $ parameter ) { $ dependencies [ ] = $ this -> resolveParameter ( $ parameter , $ parameters ) ; } return $ this -> mergeParameters ( $ dependencies , $ parameters ) ; }
Resolve an array of \ReflectionParameter parameters.

@param array $reflectionParameters
@param array $parameters

@throws \Viserio\Component\Contract\Container\Exception\BindingResolutionException
@throws \Viserio\Component\Contract\Container\Exception\CyclicDependencyException

@return array
Resolve an array of \ ReflectionParameter parameters .