🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:EmailValidation.php
<?php namespace Egulias\EmailValidator\Validation; use Egulias\EmailValidator\EmailLexer; use Egulias\EmailValidator\Result\InvalidEmail; use Egulias\EmailValidator\Warning\Warning; interface EmailValidation { /** * Returns true if the given email is valid. * * @param string $email The email you want to validate. * @param EmailLexer $emailLexer The email lexer. * * @return bool */ public function isValid(string $email, EmailLexer $emailLexer) : bool; /** * Returns the validation error. * * @return InvalidEmail|null */ public function getError() : ?InvalidEmail; /** * Returns the validation warnings. * * @return Warning[] */ public function getWarnings() : array; }
Save Changes
Cancel
Create New File
Create New Folder