private function createSharedThemePath($module, $theme, $base)
    {
        if (is_null($theme)) {
            $theme = $this->theme;
        }

        if (is_null($module)) {
            $module = $this->module;
        }

        return sprintf('%s/%s/%s/%s', $base, $module, self::TEMPLATE_PARAM_BASE_DIR, $theme);
    }