diff --git a/README.md b/README.md index 70d30f0..934da68 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Ruleset->get_errors(); Use `Ruleset->is_valid(): bool` to quickly check if any errors are set. +You can also use `Ruleset->validate_or_exit(): true|Response` to automatically return a `Reflect\Response` with all errors to current STDOUT if validation fails. + # Installation Install with composer