Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SRWieZ committed Nov 17, 2024
1 parent 50d2657 commit bc35a35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ $ipv4or6 = PublicIP::get(); // returns either IPv4 or IPv6
If you want to use a specific fetcher, or a specific provider, you can use the `PublicIPv4::finder()->fetch()` method.

```php
use SRWieZ\Native\MyIP\Enums\DnsProvider;use SRWieZ\Native\MyIP\Fetchers\DigFetcher;use SRWieZ\Native\MyIP\Finders\PublicIPv4;
use SRWieZ\Native\MyIP\Enums\DnsProvider;
use SRWieZ\Native\MyIP\Fetchers\DigFetcher;
use SRWieZ\Native\MyIP\Finders\PublicIPv4;

$ipv4 = PublicIPv4::finder()
->addFetcher((new DigFetcher())
Expand Down

0 comments on commit bc35a35

Please sign in to comment.