Caffeinated\Themes\Themes::getThemeNamespace PHP Method

getThemeNamespace() protected method

Get the specified themes View namespace.
protected getThemeNamespace ( string $key, $theme = null ) : string
$key string
return string
    protected function getThemeNamespace($key, $theme = null)
    {
        if (is_null($theme)) {
            return $this->getActive() . "::{$key}";
        } else {
            return $theme . "::{$key}";
        }
    }