예제 #1
0
 /**
  * Set Document about to be deleted
  *
  * @param CategoryDocument|ProductDocument|ContentDocument|FolderDocument $documentToDelete Document about to be deleted
  *
  * @return $this
  * @deprecated deprecated since version 2.0.3. Use FileDeleteEvent instead
  */
 public function setDocumentToDelete($documentToDelete)
 {
     parent::setFileToDelete($documentToDelete);
     return $this;
 }
예제 #2
0
 /**
  * Set Image about to be deleted
  *
  * @param CategoryImage|ProductImage|ContentImage|FolderImage $imageToDelete Image about to be deleted
  *
  * @return $this
  * @deprecated deprecated since version 2.0.3. Use FileDeleteEvent instead
  */
 public function setImageToDelete($imageToDelete)
 {
     parent::setFileToDelete($imageToDelete);
     return $this;
 }