diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -16,11 +16,7 @@ composer require askonomm/bouncer ## Usage -The Bouncer takes in an array of fields, an array of rules and optionally an array of validators. If no validators are provided, default validators will be used instead, which are: - -- `\Askonomm\Bouncer\Validators\LenValidator` -- `\Askonomm\Bouncer\Validators\EmailValidator` -- `\Askonomm\Bouncer\Validators\RequiredValidator` +The Bouncer takes in an array of `$fields` and an array of `$rules`. The key of each item in the `$fields` array must correspond to the the key of each item in the `$rules` array, so that Bouncer would know how to connect the two to each other. |
