메소드 | 설명 | |
---|---|---|
forgetTranslation ( string $key, string $locale ) | ||
getAttributeValue ( string $key ) : mixed | ||
getCasts ( ) : array | ||
getTranslatableAttributes ( ) : array | ||
getTranslatedLocales ( string $key ) : array | ||
getTranslation ( string $key, string $locale ) | * | |
getTranslations ( $key ) : array | ||
isTranslatableAttribute ( string $key ) : boolean | ||
setTranslation ( string $key, string $locale, $value ) | ||
setTranslations ( string $key, array $translations ) | ||
translate ( string $key, string $locale = '' ) : mixed |
메소드 | 설명 | |
---|---|---|
guardAgainstUntranslatableAttribute ( string $key ) | ||
normalizeLocale ( string $key, string $locale ) : string |
public forgetTranslation ( string $key, string $locale ) | ||
$key | string | |
$locale | string |
public getTranslatedLocales ( string $key ) : array | ||
$key | string | |
리턴 | array |
public getTranslation ( string $key, string $locale ) | ||
$key | string | |
$locale | string |
protected guardAgainstUntranslatableAttribute ( string $key ) | ||
$key | string |
public isTranslatableAttribute ( string $key ) : boolean | ||
$key | string | |
리턴 | boolean |
public setTranslation ( string $key, string $locale, $value ) | ||
$key | string | |
$locale | string | |
$value |
public setTranslations ( string $key, array $translations ) | ||
$key | string | |
$translations | array |