original_string: public function getCropsFolder( $path = null )
      {
          if ( ! $this->cropsFolder ) {
              return $this->getBaseFolder($path);
          }
  
          if ( $path ) {
              return sprintf( '%s/%s', $this->cropsFolder, basename( $path ) );
          }
  
          return $this->cropsFolder;
      }
code: public function getCropsFolder( $path = null )
      {
          if ( ! $this->cropsFolder ) {
              return $this->getBaseFolder($path);
          }
  
          if ( $path ) {
              return sprintf( '%s/%s', $this->cropsFolder, basename( $path ) );
          }
  
          return $this->cropsFolder;
      }
code_tokens: public function getCropsFolder ( $ path = null ) { if ( ! $ this -> cropsFolder ) { return $ this -> getBaseFolder ( $ path ) ; } if ( $ path ) { return sprintf ( '%s/%s' , $ this -> cropsFolder , basename ( $ path ) ) ; } return $ this -> cropsFolder ; }
docstring: Getter for cropsFolder
  
  return string
docstring_tokens: Getter for cropsFolder