private function findModelTypeInMorphMap(
        string $modelType
    ): string {
        $morphMap = Relation::morphMap();

        if (!isset($morphMap[$modelType])) {
            throw ReactableInvalid::classNotExists($modelType);
        }

        return $morphMap[$modelType];
    }
private function findModelTypeInMorphMap(
        string $modelType
    ): string {
        $morphMap = Relation::morphMap();

        if (!isset($morphMap[$modelType])) {
            throw ReactableInvalid::classNotExists($modelType);
        }

        return $morphMap[$modelType];
    }
private function findModelTypeInMorphMap ( string $ modelType ) : string { $ morphMap = Relation :: morphMap ( ) ; if ( ! isset ( $ morphMap [ $ modelType ] ) ) { throw ReactableInvalid :: classNotExists ( $ modelType ) ; } return $ morphMap [ $ modelType ] ; }
Find model type in morph mappings registry.

@param string $modelType
@return string

@throws \Cog\Contracts\Love\Reactable\Exceptions\ReactableInvalid
Find model type in morph mappings registry .