Final Class Yiisoft\Translator\Event\MissingTranslationCategoryEvent
| Inheritance | Yiisoft\ |
|---|
The event is thrown when translation category is missing.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getCategory() | Yiisoft\ |
Method Details
| public mixed __construct ( string $category ) | ||
| $category | string |
Category that is missing. |
public function __construct(private string $category) {}
| public string getCategory ( ) | ||
| return | string |
Category that is missing. |
|---|---|---|
public function getCategory(): string
{
return $this->category;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.