public static function resolveId(SchemaId $id): string
    {
        $curieMajor = $id->getCurieMajor();
        if (isset(self::$curies[$curieMajor])) {
            return self::$classes[self::$curies[$curieMajor]];
        }

        $curie = $id->getCurie()->toString();
        if (isset(self::$curies[$curie])) {
            return self::$classes[self::$curies[$curie]];
        }

        throw new NoMessageForSchemaId($id);
    }
public static function resolveId(SchemaId $id): string
    {
        $curieMajor = $id->getCurieMajor();
        if (isset(self::$curies[$curieMajor])) {
            return self::$classes[self::$curies[$curieMajor]];
        }

        $curie = $id->getCurie()->toString();
        if (isset(self::$curies[$curie])) {
            return self::$classes[self::$curies[$curie]];
        }

        throw new NoMessageForSchemaId($id);
    }
public static function resolveId ( SchemaId $ id ) : string { $ curieMajor = $ id -> getCurieMajor ( ) ; if ( isset ( self :: $ curies [ $ curieMajor ] ) ) { return self :: $ classes [ self :: $ curies [ $ curieMajor ] ] ; } $ curie = $ id -> getCurie ( ) -> toString ( ) ; if ( isset ( self :: $ curies [ $ curie ] ) ) { return self :: $ classes [ self :: $ curies [ $ curie ] ] ; } throw new NoMessageForSchemaId ( $ id ) ; }
Returns the fully qualified php class name to be used for the provided schema id.

@param SchemaId $id

@return Message

@throws NoMessageForSchemaId
Returns the fully qualified php class name to be used for the provided schema id .