original_string: public function handle($event)
      {
          $needCrop = $event->dataType->rows()
              ->whereType('image')
              ->where('details', 'like', '%cropper%')
              ->exists();
  
          if ($needCrop) {
              $event->model->cropPhotos($event);
          }
      }
code: public function handle($event)
      {
          $needCrop = $event->dataType->rows()
              ->whereType('image')
              ->where('details', 'like', '%cropper%')
              ->exists();
  
          if ($needCrop) {
              $event->model->cropPhotos($event);
          }
      }
code_tokens: public function handle ( $ event ) { $ needCrop = $ event -> dataType -> rows ( ) -> whereType ( 'image' ) -> where ( 'details' , 'like' , '%cropper%' ) -> exists ( ) ; if ( $ needCrop ) { $ event -> model -> cropPhotos ( $ event ) ; } }
docstring: Crop the images for a given CRUD.
  
  @param $event
  
  @return void
docstring_tokens: Crop the images for a given CRUD .