public static function refresh($id, $ttl = 5, $path = '.')
    {
        return touch(self::__generateLockFileName($id, $path), time() + $ttl, time());
    }
public static function refresh($id, $ttl = 5, $path = '.')
    {
        return touch(self::__generateLockFileName($id, $path), time() + $ttl, time());
    }
public static function refresh ( $ id , $ ttl = 5 , $ path = '.' ) { return touch ( self :: __generateLockFileName ( $ id , $ path ) , time ( ) + $ ttl , time ( ) ) ; }
Updates a lock file to 'keep alive' for another 'x' seconds.

@param string $id
The name of the lock file, which gets obfuscated using
`__generateLockFileName()`.
@param integer $ttl
The length, in seconds, that the lock should be extended by.
Defaults to 5.
@param string $path
The path to the lock, defaults to the current working directory
@return boolean
Updates a lock file to keep alive for another x seconds .