public function verifyChecksum()
    {
        if(empty($this->getPackage()->getChecksum())) {
            return true;
        }
        return $this->getPackage()->getChecksum() === md5_file($this->getDownloadFullPath());
    }
public function verifyChecksum()
    {
        if(empty($this->getPackage()->getChecksum())) {
            return true;
        }
        return $this->getPackage()->getChecksum() === md5_file($this->getDownloadFullPath());
    }
public function verifyChecksum ( ) { if ( empty ( $ this -> getPackage ( ) -> getChecksum ( ) ) ) { return true ; } return $ this -> getPackage ( ) -> getChecksum ( ) === md5_file ( $ this -> getDownloadFullPath ( ) ) ; }
Verify the packages checksum against the downloaded file
if the package has a checksum
@return boolean
Verify the packages checksum against the downloaded file if the package has a checksum