original_string: public function getPreviewImageUrl()
      {
          $previewPath = $this->getConfigValue('previewImage', 'assets/images/theme-preview.png');
  
          if (File::exists($this->getPath().'/'.$previewPath)) {
              return Url::asset('themes/'.$this->getDirName().'/'.$previewPath);
          }
  
          return Url::asset('modules/cms/assets/images/default-theme-preview.png');
      }
code: public function getPreviewImageUrl()
      {
          $previewPath = $this->getConfigValue('previewImage', 'assets/images/theme-preview.png');
  
          if (File::exists($this->getPath().'/'.$previewPath)) {
              return Url::asset('themes/'.$this->getDirName().'/'.$previewPath);
          }
  
          return Url::asset('modules/cms/assets/images/default-theme-preview.png');
      }
code_tokens: public function getPreviewImageUrl ( ) { $ previewPath = $ this -> getConfigValue ( 'previewImage' , 'assets/images/theme-preview.png' ) ; if ( File :: exists ( $ this -> getPath ( ) . '/' . $ previewPath ) ) { return Url :: asset ( 'themes/' . $ this -> getDirName ( ) . '/' . $ previewPath ) ; } return Url :: asset ( 'modules/cms/assets/images/default-theme-preview.png' ) ; }
docstring: Returns the theme preview image URL.
  If the image file doesn't exist returns the placeholder image URL.
  @return string Returns the image URL.
docstring_tokens: Returns the theme preview image URL . If the image file doesn t exist returns the placeholder image URL .