getMessageSource() public method
Returns the message source for the given category.
public yii\i18n\MessageSource getMessageSource ( $category ) | ||
---|---|---|
$category | string |
The category name. |
return | yii\i18n\MessageSource |
The message source for the given category. |
throws | yii\base\InvalidConfigException |
if there is no message source available for the specified category. |
Please login to continue.