Returns a 32 characters long uniq ID
public static generateUniqId ( ) : string | ||
return | string | 32 chars |
use Piwik\Common; $uniqId = Common::generateUniqId(); // Output: Jw8dGowpCz
use Piwik\Common; $uniqId = Common::generateUniqId(16); // Output: PdRWe89fGhNsTqABPackage Library: The generateUniqId function is part of the Piwik Common library, which is a part of the Matomo (formerly Piwik) analytics platform.
public static generateUniqId ( ) : string | ||
return | string | 32 chars |