public function get($name, $default = null)
    {
        if (! str_contains($name, '::')) {
            throw new InvalidArgumentException("Setting key must be in the format '[module]::[setting]', '$name' given.");
        }

        $defaultFromConfig = $this->getDefaultFromConfigFor($name);

        if ($this->setting->has($name)) {
            return $this->setting->get($name);
        }

        return is_null($default) ? $defaultFromConfig : $default;
    }