private static function setHash($filePath)
    {
        if (stristr(php_uname('s'), 'WIN')) {
            $filePath = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $filePath);
        }

        return md5($filePath);
    }
private static function setHash($filePath)
    {
        if (stristr(php_uname('s'), 'WIN')) {
            $filePath = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $filePath);
        }

        return md5($filePath);
    }
private static function setHash ( $ filePath ) { if ( stristr ( php_uname ( 's' ) , 'WIN' ) ) { $ filePath = str_replace ( [ '/' , '\\' ] , DIRECTORY_SEPARATOR , $ filePath ) ; } return md5 ( $ filePath ) ; }
Set file path hash.

@since 1.1.4

@param string $filePath → file path

@return string
Set file path hash .