public function getReferenceCode()
    {
        if (!isset($this->referenceCode)) {
            $this->referenceCode = date('YmdHis', $_SERVER['REQUEST_TIME']) . substr(md5(rand()), 0, 6);
        }
        return $this->referenceCode;
    }
public function getReferenceCode()
    {
        if (!isset($this->referenceCode)) {
            $this->referenceCode = date('YmdHis', $_SERVER['REQUEST_TIME']) . substr(md5(rand()), 0, 6);
        }
        return $this->referenceCode;
    }
public function getReferenceCode ( ) { if ( ! isset ( $ this -> referenceCode ) ) { $ this -> referenceCode = date ( 'YmdHis' , $ _SERVER [ 'REQUEST_TIME' ] ) . substr ( md5 ( rand ( ) ) , 0 , 6 ) ; } return $ this -> referenceCode ; }
Returns a code which can be communicated publicly so that whoever experiences the exception can refer
to it and a developer can find more information about it in the system log.

@return string
@api
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log .