protected function createRegistryDriver($name)
    {
        $config = Arr::get($this->config, "registry.{$name}", []);
        $cache  = $this->getCacheRepository($config);

        return $this->createProvider(Registry::getInstance($name, $config, $this->app, $cache));
    }