Final Class Yiisoft\Translator\Event\MissingTranslationEvent
| Inheritance | Yiisoft\Translator\Event\MissingTranslationEvent |
|---|
The event is thrown when translation is missing.
Public Methods
Method Details
| public mixed __construct ( string $category, string $language, string $message ) | ||
| $category | string |
Category of the missing translation. |
| $language | string |
Language of the missing translation. |
| $message | string |
Message of the missing translation. |
public function __construct(private string $category, private string $language, private string $message)
{
}
| public string getCategory ( ) | ||
| return | string |
Category of the missing translation. |
|---|---|---|
public function getCategory(): string
{
return $this->category;
}
| public string getLanguage ( ) | ||
| return | string |
Language of the missing translation. |
|---|---|---|
public function getLanguage(): string
{
return $this->language;
}
| public string getMessage ( ) | ||
| return | string |
Message of the missing translation. |
|---|---|---|
public function getMessage(): string
{
return $this->message;
}
Signup or Login in order to comment.