I18nAwareInterface
interface I18nAwareInterface
I18n aware interface.
Methods
string
getTranslatedErrorMessage(string $field, string $rule, string|null $package = null)
Returns the translated error message.
Details
at line 25
RuleInterface
setI18n(I18n $i18n)
Sets the I18n instance.
at line 35
string
getTranslatedErrorMessage(string $field, string $rule, string|null $package = null)
Returns the translated error message.