/** * Compare this file with an other file. * * @param File $file * @return bool True if the file is different, false if file is the same. */ public function diff(File $file) { if ($this->md5Hash() != $file->md5Hash()) { return true; } else { return false; } }