public function getVanishedFiles() { $list = array(); foreach (array_keys($this->original) as $path) { if (!isset($this->collection[$path])) { $list[] = $path; } } return $list; }
/** * @return array */ public function cleanVanishedFiles() { $files = $this->source->getVanishedFiles(); foreach ($files as $path) { $this->removeFileReferences($path); } return $files; }