original_string: protected function generateBasename()
      {
          $filename = md5($this->image . $this->height . $this->width);
  
          if (isset(static::$config['default_extension'])) {
  
              $extension = static::$config['default_extension'];
  
          } else {
  
              $extension = pathinfo($this->image, PATHINFO_EXTENSION);
  
          }
  
          return $filename . '.' . $extension;   
      }
code: protected function generateBasename()
      {
          $filename = md5($this->image . $this->height . $this->width);
  
          if (isset(static::$config['default_extension'])) {
  
              $extension = static::$config['default_extension'];
  
          } else {
  
              $extension = pathinfo($this->image, PATHINFO_EXTENSION);
  
          }
  
          return $filename . '.' . $extension;   
      }
code_tokens: protected function generateBasename ( ) { $ filename = md5 ( $ this -> image . $ this -> height . $ this -> width ) ; if ( isset ( static :: $ config [ 'default_extension' ] ) ) { $ extension = static :: $ config [ 'default_extension' ] ; } else { $ extension = pathinfo ( $ this -> image , PATHINFO_EXTENSION ) ; } return $ filename . '.' . $ extension ; }
docstring: Generate basename from the destiny file
  @return string
docstring_tokens: Generate basename from the destiny file