public function getWebPath() : string
    {
        if ($this->fullWebPath !== null) {
            return $this->fullWebPath;
        }

        $path = rtrim($this->getSetting('webPath'), '/');

        if (filter_var($path, FILTER_VALIDATE_URL) !== false) {
            return $this->fullWebPath = $path;
        }

        if (Str::startsWith($path, '//')) {
            return $this->fullWebPath = $path;
        }

        return $this->fullWebPath = urlTo(ltrim($path, '/'));
    }
public function getWebPath() : string
    {
        if ($this->fullWebPath !== null) {
            return $this->fullWebPath;
        }

        $path = rtrim($this->getSetting('webPath'), '/');

        if (filter_var($path, FILTER_VALIDATE_URL) !== false) {
            return $this->fullWebPath = $path;
        }

        if (Str::startsWith($path, '//')) {
            return $this->fullWebPath = $path;
        }

        return $this->fullWebPath = urlTo(ltrim($path, '/'));
    }
public function getWebPath ( ) : string { if ( $ this -> fullWebPath !== null ) { return $ this -> fullWebPath ; } $ path = rtrim ( $ this -> getSetting ( 'webPath' ) , '/' ) ; if ( filter_var ( $ path , FILTER_VALIDATE_URL ) !== false ) { return $ this -> fullWebPath = $ path ; } if ( Str :: startsWith ( $ path , '//' ) ) { return $ this -> fullWebPath = $ path ; } return $ this -> fullWebPath = urlTo ( ltrim ( $ path , '/' ) ) ; }
Get web path for theme

@return string
Get web path for theme