original_string: public function getUrlAttribute($suffix = '')
      {
          if (!$this->exists) {
              return Cache::rememberForever('missing_photo', function () {
                  return static::placeholder('No photo provided');
              });
          }
  
          if (!$this->processed) {
              return Cache::rememberForever('processing_photo', function () {
                  return static::placeholder(
                      "This photo is\nbeing processed\nand will appear\nshortly"
                  );
              });
          }
  
          return "/photo/{$this->photoId}$suffix.jpg";
      }
code: public function getUrlAttribute($suffix = '')
      {
          if (!$this->exists) {
              return Cache::rememberForever('missing_photo', function () {
                  return static::placeholder('No photo provided');
              });
          }
  
          if (!$this->processed) {
              return Cache::rememberForever('processing_photo', function () {
                  return static::placeholder(
                      "This photo is\nbeing processed\nand will appear\nshortly"
                  );
              });
          }
  
          return "/photo/{$this->photoId}$suffix.jpg";
      }
code_tokens: public function getUrlAttribute ( $ suffix = '' ) { if ( ! $ this -> exists ) { return Cache :: rememberForever ( 'missing_photo' , function ( ) { return static :: placeholder ( 'No photo provided' ) ; } ) ; } if ( ! $ this -> processed ) { return Cache :: rememberForever ( 'processing_photo' , function ( ) { return static :: placeholder ( "This photo is\nbeing processed\nand will appear\nshortly" ) ; } ) ; } return "/photo/{$this->photoId}$suffix.jpg" ; }
docstring: Return the public URL for the photo.
  
  @param string $suffix
  
  @return string
docstring_tokens: Return the public URL for the photo .