yiisoft / translator

Message translation
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
23 stars 9 forks source link

Add `getMessages` method to `CategorySource` #94

Closed xepozz closed 1 year ago

xepozz commented 1 year ago
Q A
Is bugfix?
New feature? ✔️
Breaks BC?

Due to reader has getMessages method it may be helpful to use it with CategorySource, for example, when you want to export all message to external service.

codecov[bot] commented 1 year ago

Codecov Report

Base: 99.62% // Head: 99.62% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (b42199c) compared to base (c6c83ab). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #94 +/- ## ========================================= Coverage 99.62% 99.62% - Complexity 106 107 +1 ========================================= Files 12 12 Lines 267 269 +2 ========================================= + Hits 266 268 +2 Misses 1 1 ``` | [Impacted Files](https://codecov.io/gh/yiisoft/translator/pull/94?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft) | Coverage Δ | | |---|---|---| | [src/CategorySource.php](https://codecov.io/gh/yiisoft/translator/pull/94/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL0NhdGVnb3J5U291cmNlLnBocA==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.