Skip to content

Commit

Permalink
README: Add flag info
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Sep 9, 2021
1 parent dc36c36 commit 0e57f96
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ $manager->getByCode('CZ');
Returns:

![Country entity](doc/entity.png)

🏳️‍🌈 Flag support
----------------

The package fully supports the ability to get a country's flag as an emoji. To get it, simply call the method above the entity:

```php
$manager = new \Baraja\Country\CountryManager;
$country = $manager->getByCode('CZ');

echo $country->getFlag(); // return 🇨🇿
```

0 comments on commit 0e57f96

Please sign in to comment.