Skip to content

Commit

Permalink
reflect translation support in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilian Ranguelov committed May 30, 2018
1 parent 366e124 commit aa44842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ $value = 'any invalid value';
try {
$gtin = Gtin\Factory::create($value);
} catch (Gtin\NonNormalizable $e) {
// $translatedMessage = $someExternalComponent->translate(
// $e->messageKey(),
// $e->messageData()
// );
// ...
}

Expand Down

0 comments on commit aa44842

Please sign in to comment.