public function getUniqueHashForFile()
    {
        $path = $this->fileInfo->getPath();
        $file = $this->fileInfo->getName();
        $mtime = $this->fileInfo->getModificationTime();

        return md5($path . $file . '-' . $mtime);
    }
public function getUniqueHashForFile()
    {
        $path = $this->fileInfo->getPath();
        $file = $this->fileInfo->getName();
        $mtime = $this->fileInfo->getModificationTime();

        return md5($path . $file . '-' . $mtime);
    }
public function getUniqueHashForFile ( ) { $ path = $ this -> fileInfo -> getPath ( ) ; $ file = $ this -> fileInfo -> getName ( ) ; $ mtime = $ this -> fileInfo -> getModificationTime ( ) ; return md5 ( $ path . $ file . '-' . $ mtime ) ; }
get a unique hash for current file
this is needed for a faster check if record allready exists in indexer table
@return string A 25 digit MD5 hash value of current file and last modification time
get a unique hash for current file this is needed for a faster check if record allready exists in indexer table