protected function getWidgetPath()
    {
        $name = html_clean($this->widgetName);
        $name = str_replace(['.', '_'], ' ', $name);
        $name = str_replace(' ', '', ucwords($name));
        $name = $this->namespace . '\\' . $name . 'Widget';

        if (! is_subclass_of($name, WidgetAbstract::class)) {
            throw new \Exception(sprintf(
                'Widget class `%s` not available!', $name
            ));
        }

        return $name;
    }