protected function getSettingsFromRealSource($namespace)
    {
        $arraySettings = $this->getSettingsArray($namespace);
        $namespaceOptions = $this->options->getNamespaceOptions($namespace);
        $entity = clone($namespaceOptions->getEntityPrototype());
        if (!empty($arraySettings)) {
            $hydrator = $this->namespaceHydratorProvider->getHydrator($namespace);
            $entity = $hydrator->hydrate($arraySettings, $entity);
        }

        return $entity;
    }