original_string: public function getImageUrlAttribute()
      {
          if ($this->exists) {
              $image = $this->image();
  
              if ($image) {
                  return $image->url;
              }
  
              return config('media.image.default');
          }
  
          return config('media.image.default');
      }
code: public function getImageUrlAttribute()
      {
          if ($this->exists) {
              $image = $this->image();
  
              if ($image) {
                  return $image->url;
              }
  
              return config('media.image.default');
          }
  
          return config('media.image.default');
      }
code_tokens: public function getImageUrlAttribute ( ) { if ( $ this -> exists ) { $ image = $ this -> image ( ) ; if ( $ image ) { return $ image -> url ; } return config ( 'media.image.default' ) ; } return config ( 'media.image.default' ) ; }
docstring: Default image url attribute.
  
  @return string|null
docstring_tokens: Default image url attribute .