AudioDidact\User::validateEmail
Validates names and other strings using PHP FILTER_VALIDATE_EMAIL. Returns true if the string is valid
Signature
public function validateEmail(
$email )
Parameters
$email
—
Returns
- bool
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — UserTest::testSignUp
- [ PASSED ] — UserTest::testSignUpDuplicate