Example #1
0
 /**
  * @return string
  */
 private function getAssigningAuthority()
 {
     return 'GAIA-' . Matcha::getInstallationNumber();
 }
Example #2
0
 /**
  * This is create a sequenced unique ID {string} of 38 characters
  * @return mixed
  */
 public function newId()
 {
     try {
         return strtoupper(str_replace('.', '', uniqid(date('Uu'), true))) . Matcha::getInstallationNumber();
     } catch (PDOException $e) {
         return MatchaErrorHandler::__errorProcess($e);
     }
 }