Interface Yiisoft\Validator\PropertyTranslatorProviderInterface
| Implemented by | Yiisoft\ |
|---|
Provides optional implementation of {@see PropertyTranslatorInterface} for translation of property names.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getPropertyTranslator() | Get property translator instance to use. | Yiisoft\ |
Method Details
Get property translator instance to use.
See also \
| public abstract Yiisoft\ | ||
| return | Yiisoft\ |
Property translator instance to use. If null is returned, the validator uses default value configured. |
|---|---|---|
public function getPropertyTranslator(): ?PropertyTranslatorInterface;
User Contributed Notes
Leave a comment
Join the conversation to share a note.