diff --git a/upload/system/library/PagSeguro/src/Validation/Rules/Email.php b/upload/system/library/PagSeguro/src/Validation/Rules/Email.php new file mode 100644 index 0000000..e5b85f0 --- /dev/null +++ b/upload/system/library/PagSeguro/src/Validation/Rules/Email.php @@ -0,0 +1,17 @@ +regex = $regex; + } + + /** + * {@inheritDoc} + */ + public function validate($input): bool + { + return preg_match($this->regex, $input); + } +}