public function resolveChainModel($idChain,array $options = []) {
        $resolver = new OptionsResolver();
        $resolver->setDefaults([
            "base_path" => null,
            "sub_path" => null,
            "data" => [],
            "fileName" => null,
        ]);
        $resolver->setAllowedTypes("data","array");
        $options = $resolver->resolve($options);
        $chainModel = $this->getChainModel($idChain);
        $chainModel
            ->setExporterManager($this)
            ->setSubPath($options["sub_path"])
            ->setBasePath($options["base_path"])
            ;
        return $chainModel;
    }