Пример #1
0
 /**
  * Execute cleanup.
  *
  * @return $this
  */
 public function execute()
 {
     foreach ($this->backup->getRemoval() as $file) {
         if (!is_file($file)) {
             continue;
         }
         unlink($file);
     }
     $this->backup->resetCollection();
     return $this;
 }