protected function getThemeBaseUrl(?Theme $theme = null) : string
    {
        $theme = $theme ?? $this->getTheme();

        if (isset($this->webPaths[$theme->getKey()])) {
            return $this->webPaths[$theme->getKey()];
        }

        return $this->webPaths[$theme->getKey()] = $this->url->make(new UrlSettings([
            'domain'        => $theme->getWebPath(),
            'path'          => $this->directory,
        ]));
    }
protected function getThemeBaseUrl(?Theme $theme = null) : string
    {
        $theme = $theme ?? $this->getTheme();

        if (isset($this->webPaths[$theme->getKey()])) {
            return $this->webPaths[$theme->getKey()];
        }

        return $this->webPaths[$theme->getKey()] = $this->url->make(new UrlSettings([
            'domain'        => $theme->getWebPath(),
            'path'          => $this->directory,
        ]));
    }
protected function getThemeBaseUrl ( ? Theme $ theme = null ) : string { $ theme = $ theme ?? $ this -> getTheme ( ) ; if ( isset ( $ this -> webPaths [ $ theme -> getKey ( ) ] ) ) { return $ this -> webPaths [ $ theme -> getKey ( ) ] ; } return $ this -> webPaths [ $ theme -> getKey ( ) ] = $ this -> url -> make ( new UrlSettings ( [ 'domain' => $ theme -> getWebPath ( ) , 'path' => $ this -> directory , ] ) ) ; }
Get web path for resource group

@param \Laranix\Themer\Theme $theme
@return string
Get web path for resource group