public static function messageName(): string
    {
        if (array_key_exists($class = static::class, self::$hmlbDDDMessageNamesCache)) {
            return self::$hmlbDDDMessageNamesCache[$class];
        }

        self::$hmlbDDDMessageNamesCache[$class] = $name = static::generateMessageNameFromClassName();

        return $name;
    }
public static function messageName(): string
    {
        if (array_key_exists($class = static::class, self::$hmlbDDDMessageNamesCache)) {
            return self::$hmlbDDDMessageNamesCache[$class];
        }

        self::$hmlbDDDMessageNamesCache[$class] = $name = static::generateMessageNameFromClassName();

        return $name;
    }
public static function messageName ( ) : string { if ( array_key_exists ( $ class = static :: class , self :: $ hmlbDDDMessageNamesCache ) ) { return self :: $ hmlbDDDMessageNamesCache [ $ class ] ; } self :: $ hmlbDDDMessageNamesCache [ $ class ] = $ name = static :: generateMessageNameFromClassName ( ) ; return $ name ; }
Guesses the message name from the class name.
Keeps it in memory after first call.
If you want to optimize performance, override this method.

@return string
Guesses the message name from the class name . Keeps it in memory after first call . If you want to optimize performance override this method .