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

        if (null === $config) {
            return null;
        }

        if (!isset($config['settings'])) {
            return [];
        }

        return $config['settings'];
    }