mirror of
https://github.com/retailcrm/transparent-email.git
synced 2024-11-22 05:16:05 +03:00
Documentation
This commit is contained in:
parent
4614dcd7aa
commit
7d3895cfd4
@ -21,11 +21,16 @@ To detect multi-accounts on your website.
|
||||
## Usage
|
||||
|
||||
```php
|
||||
use \bkrukowski\TransparentEmail\TransparentEmail;
|
||||
use \bkrukowski\TransparentEmail\Emails\Email;
|
||||
use bkrukowski\TransparentEmail\TransparentEmail;
|
||||
use bkrukowski\TransparentEmail\Emails\Email;
|
||||
use bkrukowski\TransparentEmail\Emails\InvalidEmailException;
|
||||
|
||||
try {
|
||||
$cleaner = new TransparentEmail();
|
||||
$transformedEmail = $cleaner->getPrimaryEmail(new Email('John.Doe+alias@gmail.com'));
|
||||
} catch (InvalidEmailException $exception) {
|
||||
// do something
|
||||
}
|
||||
```
|
||||
|
||||
## Yahoo.com
|
||||
|
Loading…
Reference in New Issue
Block a user