private function resolve(ValueSource $valSrc)
    {
        try {
            return $this->resolver->resolveValueFrom($valSrc);
        } catch (ImpossibleToResolveValue $e) {
            throw new UnableToBuild("impossible to resolve a value");
        }
    }