示例#1
0
文件: ZipAdapter.php 项目: elibyy/zip
 /**
  * @inheritdoc
  */
 public function removeFileByObject(File $file)
 {
     $results = $this->getArchive()->deleteIndex($file->getIndex());
     $this->updateArchive();
     return $results;
 }
示例#2
0
 /**
  * @inheritdoc
  */
 public function removeFileByObject(File $file)
 {
     return $this->removeFileByName($file->getName());
 }