We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f81e6 commit 9d18b2cCopy full SHA for 9d18b2c
README.md
@@ -7,9 +7,9 @@ One day I will add other crypto currencies. Or how about you? :)
7
8
9
```php
10
-use Merkeleon\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator;
+use Merkeleon\PhpCryptocurrencyAddressValidation\Validation;
11
12
-$validator = new BTCValidator('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp');
13
-var_dump($validator->validate());
+$validator = Validation::make('BTC');
+var_dump($validator->validate('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp'));
14
15
```
0 commit comments