feat: filter out countries without public holidays

Fairly minor update, no code change, just added a new test to cover the
flag that was recently added to the API and expanded the documentation
to also include it.
This commit is contained in:
Josh Sherman 2020-03-03 21:51:57 -06:00
parent 054eab9c02
commit 12f1ea69f8
3 changed files with 43 additions and 1 deletions

View file

@ -67,6 +67,14 @@ try {
$holiday_api->countries();
```
#### Fetch only countries with public holidays
```php
$holiday_api->countries([
'public' => true,
]);
```
#### Fetch a supported country by code
```php