buildTemplateType($providerId, $scopeType, $scopeValue), extensionType: ExtensionOwnerType::Core, extensionIdentifier: 'core', source: 'identity_message', recipientName: $recipientName, ); } /** * 템플릿 식별자(`identity:{provider}|{scope_type}[|{scope_value}]`)를 조립합니다. * * @param string $providerId * @param string $scopeType * @param string $scopeValue * @return string */ private function buildTemplateType(string $providerId, string $scopeType, string $scopeValue): string { $key = 'identity:'.$providerId.'|'.$scopeType; if ($scopeValue !== '') { $key .= '|'.$scopeValue; } return $key; } }