original_string: public function getPublicPath()
      {
          $uploadsPath = Config::get('cms.storage.uploads.path', '/storage/app/uploads');
  
          if ($this->isPublic()) {
              $uploadsPath .= '/public';
          }
          else {
              $uploadsPath .= '/protected';
          }
  
          return Url::asset($uploadsPath) . '/';
      }
code: public function getPublicPath()
      {
          $uploadsPath = Config::get('cms.storage.uploads.path', '/storage/app/uploads');
  
          if ($this->isPublic()) {
              $uploadsPath .= '/public';
          }
          else {
              $uploadsPath .= '/protected';
          }
  
          return Url::asset($uploadsPath) . '/';
      }
code_tokens: public function getPublicPath ( ) { $ uploadsPath = Config :: get ( 'cms.storage.uploads.path' , '/storage/app/uploads' ) ; if ( $ this -> isPublic ( ) ) { $ uploadsPath .= '/public' ; } else { $ uploadsPath .= '/protected' ; } return Url :: asset ( $ uploadsPath ) . '/' ; }
docstring: Define the public address for the storage path.
docstring_tokens: Define the public address for the storage path .