original_string: public static function delete($imagePath)
      {
          $imagePath = normalizePath($imagePath);
          if (is_readable($imagePath)) {
              $original = new File($imagePath);
              static::deleteThumbnails($imagePath);
              $original->delete();
          }
      }
code: public static function delete($imagePath)
      {
          $imagePath = normalizePath($imagePath);
          if (is_readable($imagePath)) {
              $original = new File($imagePath);
              static::deleteThumbnails($imagePath);
              $original->delete();
          }
      }
code_tokens: public static function delete ( $ imagePath ) { $ imagePath = normalizePath ( $ imagePath ) ; if ( is_readable ( $ imagePath ) ) { $ original = new File ( $ imagePath ) ; static :: deleteThumbnails ( $ imagePath ) ; $ original -> delete ( ) ; } }
docstring: Deletes the given image and all its thumbnails.
  
  @param string $imagePath Full path to image file
  @return void
docstring_tokens: Deletes the given image and all its thumbnails .