Interface Yiisoft\Translator\MessageWriterInterface
| Implemented by | Yiisoft\ |
|---|
Message writer writes a set of messages for a specified category and locale.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| write() | Writes a set of messages for a specified category and locale. | Yiisoft\ |
Method Details
Writes a set of messages for a specified category and locale.
| public abstract void write ( string $category, string $locale, array $messages ) | ||
| $category | string |
Category to write messages for. |
| $locale | string |
Locale to write messages for. |
| $messages | array |
A set of messages to write. The format is the following:
|
public function write(string $category, string $locale, array $messages): void;
User Contributed Notes
Leave a comment
Join the conversation to share a note.