public function getMappings($index)
    {
        $config = $this->get($index);

        if (null === $config || !isset($config['mappings'])) {
            return null;
        }

        return $config['mappings'];
    }