Skip to content

Commit

Permalink
update readme (#135)
Browse files Browse the repository at this point in the history
* update readme

use Egulias\EmailValidator\Validation\RFCValidation  is required.
  • Loading branch information
gjenjoying authored and egulias committed Dec 15, 2016
1 parent a1e85fa commit 181a2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ A basic example with the RFC validation
<?php

use Egulias\EmailValidator\EmailValidator;
use Egulias\EmailValidator\Validation\RFCValidation;

$validator = new EmailValidator();
$validator->isValid("[email protected]", new RFCValidation()); //true
Expand Down

0 comments on commit 181a2fc

Please sign in to comment.