src/models/Logger.php
private static function getHashArray($message, $groupIdentifier)
    {
        $hash = md5(static::getRequestIdentifier() . Json::encode((array) $groupIdentifier));
        if (isset(self::$identiferIndex[$hash])) {
            self::$identiferIndex[$hash]++;
        } else {
            self::$identiferIndex[$hash] = 1;
        }
    
        $hashIndex =  self::$identiferIndex[$hash];
    
        return [
            'hash' => $hash,
            'index' => $hashIndex,
        ];
    }
private static function getHashArray($message, $groupIdentifier)
    {
        $hash = md5(static::getRequestIdentifier() . Json::encode((array) $groupIdentifier));
        if (isset(self::$identiferIndex[$hash])) {
            self::$identiferIndex[$hash]++;
        } else {
            self::$identiferIndex[$hash] = 1;
        }
    
        $hashIndex =  self::$identiferIndex[$hash];
    
        return [
            'hash' => $hash,
            'index' => $hashIndex,
        ];
    }
private static function getHashArray ( $ message , $ groupIdentifier ) { $ hash = md5 ( static :: getRequestIdentifier ( ) . Json :: encode ( ( array ) $ groupIdentifier ) ) ; if ( isset ( self :: $ identiferIndex [ $ hash ] ) ) { self :: $ identiferIndex [ $ hash ] ++ ; } else { self :: $ identiferIndex [ $ hash ] = 1 ; } $ hashIndex = self :: $ identiferIndex [ $ hash ] ; return [ 'hash' => $ hash , 'index' => $ hashIndex , ] ; }
Get array index based on identifiers.

@param string $message
@param string $groupIdentifier
@return string[]|mixed[]
Get array index based on identifiers .