/**
* @return string
*/
public function getUniqueId() { if (file_exists($this->cacheFilePath
)) { return file_get_contents($this->cacheFilePath
);
} $uniqueId =
$this->
generateUniqueId();
$this->
saveUniqueId($uniqueId);
return $uniqueId;
} /**
* @param int $length
* @param string $keyspace
*
* @return string
*/
public function generateUniqueId($length = 32,
$keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
) {