Skip to content

Commit

Permalink
Merge pull request #278 from jeremykendall/feature/update-rules-publi…
Browse files Browse the repository at this point in the history
…c-api

Prepare 5.7.0 release
  • Loading branch information
nyamsprod authored Aug 3, 2020
2 parents d136de3 + c03843e commit 61f50ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All Notable changes to `PHP Domain Parser` **5.x** series will be documented in this file

## 5.7.0 - TBD
## 5.7.0 - 2020-08-02

### Added

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ echo $rules->getICANNDomain('www.ulb.ac.be'); // returns a Pdp\Domain object who
echo $rules->getPrivateDomain('www.ulb.ac.be'); // returns a Pdp\Domain object whose Public Suffix is 'be';
~~~

* Warning: If the Domain is not found an exception is thrown. *
**WARNING: If the Domain can not be resolved an exception is thrown.**

These methods are available since version `5.7.0` to ease the package usage. Prior to this version you could use the
`Rules::resolve` method with an optional `$section` argument to get the same results:
Expand All @@ -75,7 +75,7 @@ echo $rules->resolve('www.ulb.ac.be', Rules::ICANN_DOMAINS); // returns a Pdp\Do
echo $rules->resolve('www.ulb.ac.be', Rules::PRIVATE_DOMAINS); // returns a Pdp\Domain object whose Public Suffix is 'be';
~~~

* Warning: If the Domain can not be resolved or in case of error a null `Pdp\Domain` is returned. *
**WARNING: If the Domain can not be resolved or in case of error a null `Pdp\Domain` is returned.**

### Top Level Domains resolution

Expand Down

0 comments on commit 61f50ec

Please sign in to comment.